Skip to content

Commit d4de45e

Browse files
committed
Fix failing windows tests
1 parent 54a1ff9 commit d4de45e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/groovy/geoscript/feature/io/GmlWriterTestCase.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import geoscript.geom.Point
66
import geoscript.feature.Schema
77
import geoscript.feature.Field
88
import geoscript.feature.Feature
9+
import geoscript.AssertUtil
910

1011
/**
1112
* The GmlWriter UnitTest
@@ -36,7 +37,7 @@ class GmlWriterTestCase {
3637
</gsf:houses>
3738
"""
3839
String actual = writer.write(feature)
39-
assertEquals expected, actual
40+
AssertUtil.assertStringsEqual expected, actual
4041
}
4142

4243
}

src/test/groovy/geoscript/filter/FilterTestCase.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import static org.junit.Assert.*
55
import geoscript.geom.*
66
import geoscript.layer.*
77
import geoscript.feature.Feature
8+
import geoscript.AssertUtil
89

910
class FilterTestCase {
1011

@@ -19,7 +20,6 @@ class FilterTestCase {
1920
assertEquals f1.toString(), f3.toString()
2021

2122
Filter f4 = new Filter("CARPOOL/PERSON > 0.06")
22-
println f4.toString()
2323
assertEquals "[ (CARPOOL/PERSON) > 0.06 ]", f4.toString()
2424
}
2525

@@ -43,7 +43,7 @@ class FilterTestCase {
4343
</ogc:PropertyIsEqualTo>
4444
</ogc:Filter>
4545
"""
46-
assertEquals expected, actual
46+
AssertUtil.assertStringsEqual expected, actual
4747
}
4848

4949
@Test void bbox() {

0 commit comments

Comments
 (0)