8000 Fix regressions by mortend · Pull Request #339 · fuse-open/uno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix regressions #339

New issue

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

Merged
merged 2 commits into from
Jun 3, 2020
Merged

Fix regressions #339

merged 2 commits into from
Jun 3, 2020

Conversation

mortend
Copy link
Member
@mortend mortend commented Jun 3, 2020

This fixes two regressions introduced in #322 and #337.

mortend added 2 commits June 3, 2020 09:22
This makes 'uno test' fail when tests fail again and fixes the regression
introduced by 1bf82b6 in fuse-open#322.
After we corrected the return type of Random.NextDouble() in fuse-open#337, one test
started failing (silently due to the other regression).

    Assertion failed in 'Pow', at /home/travis/build/mortend/uno/lib/UnoCore/Tests/Math.Test.uno:552
      Expected: 579968040960.0000000
      But got : 579967451136.0000000

Using NextFloat() instead fixes the test, because NextDouble() used to return
float before fuse-open#337.
@mortend mortend merged commit 60cebed into fuse-open:master Jun 3, 2020
@mortend mortend deleted the test branch June 3, 2020 03:12
mortend added a commit to mortend/uno that referenced this pull request Jun 3, 2020
The warnings were accidentally introduced in fuse-open#339.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0