mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-06 11:02:25 +00:00
strange bug in good old KiWo result import regarding comparison with ( (byte)160 vs. (char)160)
This commit is contained in:
1 parent
2cbe005dbb
commit
23e6a5f53b
1 file changed
+1
-1
+1
-1
@@ -96,7 +96,7 @@ public class ParserTest {
|
||||
ResultList resultList = parser.parse(getSampleInputStream(), SAMPLE_INPUT_NAME);
|
||||
assertNotNull(resultList);
|
||||
assertEquals("D:\\Programme\\KWSailing\\eventlogos\\KielerWoche_Ergebnislistenkopf_2011.jpg", resultList.getImagePath());
|
||||
assertEquals(new String(new byte[] { (byte) 160 /* non-breaking space */}), resultList.getLegend());
|
||||
assertEquals(new String(new char[] { (char) 160 /* non-breaking space */}), resultList.getLegend());
|
||||
Iterable<Boat> boats = resultList.getBoats();
|
||||
assertFalse(Util.isEmpty(boats));
|
||||
assertEquals(48, Util.size(boats));
|
||||
|
||||
Reference in new issue
Block a user