on master help sign in
Add %access export statement

Without the export access declared test functions are not visible to the main function which is generated to execute the tests.

commita45f3bea671492d7812e33e23a451aef033ef4a5 authorMarkus Klink <justjoheinz@gmail.com> dateTue 6 Dec 2016, 16:30 (10 years ago) parent6fc3627
1 file changed+2
docs/tutorial/testing.rst+2
docs/tutorial/testing.rst+2
@@ -42,6 +42,8 @@ A simple test module, with a qualified name of ``Test.NumOps`` can be declared a
4242 module Test.NumOps
4343
4444 import Maths.NumOps
45+
46+ %access export -- to make the test functions visible
4547
4648 assertEq : Eq a => (given : a) -> (expected : a) -> IO ()
4749 assertEq g e = if g == e