GenericMappingTools / gmt

The Generic Mapping Tools
https://www.generic-mapping-tools.org
Other
864 stars 359 forks source link

Fix the expected result in test/api/apiputvector.sh #8615

Closed seisman closed 2 weeks ago

seisman commented 2 weeks ago

The test test/api/apiputvector.sh checks the output of the test program https://github.com/GenericMappingTools/gmt/blob/master/src/testapi_putvector.c.

As you can see in the C file, the first column the program passes is 134.9 and 202. So we also expect to see 134.9 and 202 as the first column in the output. However, the answer.txt file holds the incorrect answer due to a GMT bug.

The bug was fixed recently in #8600. That's why the test starts to fail recently. This PR fixes the answer.txt file and now the test passes again.