Maps icon indicating copy to clipboard operation
Maps copied to clipboard

DistanceParserTest::testValidInputs fails with data set #6

Open kghbln opened this issue 2 years ago • 0 comments

Setup

  • Maps version: master
  • MW version: 1.36 and 1.37
  • PHP version: 7.4 and 8.0

Issue

1) Maps\Tests\Integration\Parsers\DistanceParserTest::testValidInputs with data set #6 ('4.02 km', 4020.0)
Failed asserting that 4019.9999999999995 is identical to 4020.0.

/home/runner/work/Maps/Maps/mediawiki/extensions/Maps/tests/Integration/Parsers/DistanceParserTest.php:24

kghbln avatar Mar 15 '22 11:03 kghbln