Skip to content

Conversation

jerith666
Copy link
Contributor

No description provided.

these are no longer required by the new version of elm-test
* Date is no longer part of elm/core; remove tests for it

* need to import Debug.toString to test it now

* 0.19 limited tuple size, so reduce test to match

* use new modBy and remainderBy functions

* 0.19 removed flip, curry, and uncurry; so, remove tests for those

* updates for elm-test:
  * remove a duplicate test
  * use Expect.within with floats
* expose Array module contents w/o prefix rather than Maybe

* use modBy instead of (%)

* remove test for Array.toString, removed in 0.19
* shadowing is no longer allowed by the compiler; remove test for it
* elm-test now requires tests to have unique names
* update import syntax

* use String.fromInt, modBy, and Tuple.pair rather than toString, (%), and (,)

* inline our own version of flip, as it was removed in 0.19

* remove test for scanl, which was removed in 0.19
* use modBy rather than (%)

* String.toInt now returns a Maybe rather than a Result, so implement
  our own local version of the old behaviour, so the andThen tests can
  continue to build upon it.
* String.toInt and String.toFloat now return Maybe

* String.toInt no longer parses hex literals in 0.19
@jerith666
Copy link
Contributor Author

CI build failures are to be expected here; see #1017. I opened separate PRs because I wasn't sure if I had figured out the best way to actually run these tests under 0.19.

@evancz evancz merged commit 5dcec7f into elm:master Feb 13, 2019
@evancz
Copy link
Member

evancz commented Feb 13, 2019

Looks good to me. Thank you!

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.

2 participants