groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinko Srkoč <dinko.sr...@gmail.com>
Subject Re: Code sample from packt Groovy book: help debug File and output problems?
Date Fri, 09 Oct 2015 14:24:03 GMT
On 9 October 2015 at 16:05, KARR, DAVID <dk068x@att.com> wrote:
>> -----Original Message-----
>> From: Dinko Srkoč [mailto:dinko.srkoc@gmail.com]
>> [...]
>> There appears to be a typo in the path to the file that is being
>> evaluated (RewardService.groovy, line 109). Instead of
>> "BroadBandPlus"
>> there should be "BroadbandPlus" (notice the second 'B' vs 'b').
>> Once
>> I'd changed that, all the tests passed.
>
> Sigh.  I stared and stared at that, and didn't see any difference.
>
> I don't know what platform you were using, but is the File(String) constructor running
on MS Windows case-insensitive?

It might be. I haven't really used Windows in a while.

>
>> > Also, likely a Spock or Gradle question, but I can't figure out
>> how to get stdout from the test run to go to the console, or
>> anywhere I can find, for that matter.  I found various references
>> that describe how to configure this, but none of them worked.  I
>> asked about this on the Gradle forum.

Mime
View raw message