Skip to content
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

Question about a test #501

Closed
ghost opened this issue Nov 16, 2021 · 2 comments
Closed

Question about a test #501

ghost opened this issue Nov 16, 2021 · 2 comments
Labels
question Further information is requested tests Testing, property testing, DocTests

Comments

@ghost
Copy link

ghost commented Nov 16, 2021

Hello,

Just begon with this nice challenge and run into something I do not understand

I have this code :

>>> :t True
True::Bool

and I see a test error which said this :

Test suite doctest-chapter1: RUNNING...
src/Chapter1.hs:211: failure in expression `:t True'
expected: True::Bool
 but got: True :: Bool
              ^
              ```

what is wrong here. For me bith looks the same ?
@chshersh
Copy link
Contributor

Hi @RoelofWobben 👋🏻

Your answer doesn't have spaces around :: 👾
Tests should match exactly letter by letter, including space characters.

@chshersh chshersh added question Further information is requested tests Testing, property testing, DocTests labels Nov 16, 2021
@ghost
Copy link
Author

ghost commented Nov 16, 2021

oke, was not clear for me from the test error

@ghost ghost closed this as completed Nov 16, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested tests Testing, property testing, DocTests
Projects
None yet
Development

No branches or pull requests

1 participant