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
In Spec.hs, there are unit tests like unitTest2 "main = 0" "0" This was a convenient way to test expressions, but main should be reserved for functions that belong in an input/output loop.
We should change all the unit tests, and we need to handle runStaticChecks differently for main vs inside unit tests.
The text was updated successfully, but these errors were encountered:
In Spec.hs, there are unit tests like
unitTest2 "main = 0" "0"
This was a convenient way to test expressions, butmain
should be reserved for functions that belong in an input/output loop.We should change all the unit tests, and we need to handle
runStaticChecks
differently formain
vs inside unit tests.The text was updated successfully, but these errors were encountered: