From d8d7afa016413a30138507d2d32eeb309e8d847c Mon Sep 17 00:00:00 2001 From: codisart Date: Fri, 6 Jan 2023 15:01:31 +0100 Subject: [PATCH] bug: #135 Add new test case to show the bug Signed-off-by: codisart --- test/GPSPointTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/test/GPSPointTest.php b/test/GPSPointTest.php index 112806a43..efbd47fef 100644 --- a/test/GPSPointTest.php +++ b/test/GPSPointTest.php @@ -88,6 +88,7 @@ public function errorMessageTestValues(): array ['63 47 24.691 N, 18 2 54.363 W', GpsPoint::OUT_OF_BOUNDS, '63 47 24.691 N'], ['° \' " N,° \' " E', GpsPoint::CONVERT_ERROR, '° \' " N'], ['° \' " N', GpsPoint::INCOMPLETE_COORDINATE, '° \' " N'], + ['foo,bar', GpsPoint::CONVERT_ERROR, '° \' " N'], ]; } }