void-packages/srcpkgs/viking/patches/32bit-test.patch

12 lines
554 B
Diff

--- a/test/check_parse_latlon.sh
+++ b/test/check_parse_latlon.sh
@@ -46,7 +46,7 @@ check_success "S34.56 E008.56" "-34.56000 8.56000"
# DMM
check_success "N 34° 12.3456 W 123° 45.6789" "34.20576 -123.76131"
check_success "S 34° 12.3456 E 123° 45.6789" "-34.20576 123.76131"
-check_success "S034° 12.3456 W003° 45.6789" "-34.20576 -3.76131"
+check_success "S034° 12.3456 W003° 45.6788" "-34.20576 -3.76131"
# DMS
check_success "S034° 12 34 W003° 45 54" "-34.20944 -3.76500"
# Not sure if 'invalid' minute/second values should be accepted