Created
November 24, 2015 06:03
-
-
Save lucaswiman/7eb3390f53913f6182fa to your computer and use it in GitHub Desktop.
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
?- [foo]. | |
% foo compiled 0.00 sec, 3 clauses | |
true. | |
?- load_test_files(foo). | |
% /tmp/example/foo.plt compiled into plunit 0.00 sec, 6 clauses | |
true. | |
?- run_tests. | |
% PL-Unit: foo | |
ERROR: /tmp/example/foo.plt:2: | |
test x: received error: not/1: Undefined procedure: plunit_foo:x/1 | |
ERROR: /tmp/example/foo.plt:4: | |
test x: received error: plunit_foo:'unit body'/2: Undefined procedure: plunit_foo:x/1 | |
done | |
% 2 tests failed | |
% 0 tests passed | |
false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment