You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am missing a simple example. I have an existing demo project which is built on top elm-spa-example from https://github.com/rtfeldman/elm-spa-example, and I now wanted to add some of my samples.
Before I do anything with elm-very-samples, elm-test runs fine, and I get the output saying 9 tests succeeded.
I created a file src/MyExample1.elm with ( I changed add 3 3 --> 6 to --> 5 to get a failure).
module MyExample1 exposing (..)
{-| returns the sum of two int.
-- You can write the expected result on the next line,
add 41 1
--> 42
-- or on the same line.
add 3 3 --> 5
-}
add : Int -> Int -> Int
add =
(+)
Whenever I run elm-verify-examples, elm-verify-examples.json is overwritten, so my change "tests": [MyExample1] disappears directly.
elm-test never reports any errors.
What am I missing?
The text was updated successfully, but these errors were encountered:
Is this still an issue? Sorry for not getting back. It seems like this is explained in the README somewhat sensibly, so not sure if this is relevant. (I'll close in about 2 weeks unless we hear something more here, but happy to reopen, so no pressure.)
I am missing a simple example. I have an existing demo project which is built on top elm-spa-example from https://github.com/rtfeldman/elm-spa-example, and I now wanted to add some of my samples.
Before I do anything with elm-very-samples, elm-test runs fine, and I get the output saying 9 tests succeeded.
I created a file src/MyExample1.elm with ( I changed add 3 3 --> 6 to --> 5 to get a failure).
Whenever I run elm-verify-examples, elm-verify-examples.json is overwritten, so my change
"tests": [MyExample1]
disappears directly.elm-test never reports any errors.
What am I missing?
The text was updated successfully, but these errors were encountered: