mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Schelter <...@apache.org>
Subject Re: Test failure
Date Tue, 17 Aug 2010 23:07:11 GMT
Yes, everything's fine now, thanks for the quick response.

Am 18.08.2010 00:54, schrieb Ted Dunning:
> Sebastian,
>
> I just committed a fix.  I tested it by setting the locale to DE.de and got
> the expected failure.  That implies that
> the fix should make things good for you.
>
> On Tue, Aug 17, 2010 at 3:24 PM, Ted Dunning <ted.dunning@gmail.com> wrote:
>
>   
>> Ahh... yes.
>>
>> Let me see if I can't get rid of that dependency.  Thanks so much for
>> catching it.
>>
>>
>> On Tue, Aug 17, 2010 at 3:18 PM, Sebastian Schelter <ssc@apache.org>wrote:
>>
>>     
>>> The tests
>>> org.apache.mahout.vectors.WordLikeValueEncoderTest.testAsString() and
>>> org.apache.mahout.vectors.TextValueEncoderTest.testAsString() break for
>>> me. They expect a dot when formatting but the code produces a comma, I
>>> think that's caused by a call to String.format() somewhere which might
>>> be locale-specific.
>>>
>>> org.junit.ComparisonFailure:
>>> Expected :word:w1:1.0000
>>> Actual   :word:w1:1,0000
>>>
>>> --sebastian
>>>
>>>       
>>
>>     
>   


Mime
View raw message