Skip to content

Commit f5c7e60

Browse files
committed
Improve GeoIP test
1 parent 63b7780 commit f5c7e60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/java/com/lbry/globe/tests/GeoIPTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public class GeoIPTest{
1010

1111
@Test
1212
public void testGetCoordinateFromLocation(){
13+
assertArrayEquals(new Double[]{null,null},GeoIP.getCoordinateFromLocation(null));
1314
assertArrayEquals(new Double[]{123.0,456.0},GeoIP.getCoordinateFromLocation("123,456"));
1415
assertArrayEquals(new Double[]{123.125,456.125},GeoIP.getCoordinateFromLocation("123.125,456.125"));
1516
assertArrayEquals(new Double[]{123.25,456.25},GeoIP.getCoordinateFromLocation("123.25,456.25"));

0 commit comments

Comments
 (0)