We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to whip up some unit tests for #4726, I noticed that the behaviour of the equalWithPrecision assertion defined in test/node_modules/mapbox-gl-js-test.js is pretty much broken.
equalWithPrecision
test/node_modules/mapbox-gl-js-test.js
I mean, I can go to https://github.com/mapbox/mapbox-gl-js/blob/master/test/unit/style-spec/function.test.js#L77 , and change
t.equalWithPrecision(f(2), 30 / 9, 1e-6);
into
t.equalWithPrecision(f(2), 123456789, 1e-6);
and the unit tests will still pass.
The text was updated successfully, but these errors were encountered:
Fix typo in equalWithPrecision assertion
139a000
Fixes mapbox#4730
5b14f36
Fixes #4730
ffa63bd
No branches or pull requests
When trying to whip up some unit tests for #4726, I noticed that the behaviour of the
equalWithPrecision
assertion defined intest/node_modules/mapbox-gl-js-test.js
is pretty much broken.I mean, I can go to https://github.com/mapbox/mapbox-gl-js/blob/master/test/unit/style-spec/function.test.js#L77 , and change
into
and the unit tests will still pass.
The text was updated successfully, but these errors were encountered: