Created
May 7, 2017 13:13
-
-
Save goertzenator/5390fc8eb86d4d75ebd6f984a56b5c29 to your computer and use it in GitHub Desktop.
purescript failing test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goertzen@asus_laptop_wired ~/puretest $ pulp test | |
* Building project in /home/goertzen/puretest | |
Compiling Test.Main | |
Warning found: | |
in module Test.Main | |
at test/Main.purs line 8, column 1 - line 9, column 28 | |
No type declaration was provided for the top-level declaration of main. | |
It is good practice to provide type declarations as a form of documentation. | |
The inferred type of main was: | |
forall t1. | |
Eff | |
( assert :: ASSERT | |
| t1 | |
) | |
Unit | |
in value declaration main | |
See https://github.com/purescript/documentation/blob/master/errors/MissingTypeDeclaration.md for more information, | |
or to contribute content related to this warning. | |
* Build successful. | |
* Running tests... | |
/home/goertzen/puretest/output/Test.Assert/foreign.js:6 | |
if (!success) throw new Error(message); | |
^ | |
Error: Assertion failed | |
at Object.main (/home/goertzen/puretest/output/Test.Assert/foreign.js:6:27) | |
at Object.<anonymous> (/tmp/pulp-test11747-13665-1xbwtqa.7vfrwqxgvi.js:1:84) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.runMain (module.js:604:10) | |
at run (bootstrap_node.js:394:7) | |
at startup (bootstrap_node.js:149:9) | |
* ERROR: Subcommand terminated with exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment