Skip to content

Commit

Permalink
Unit test example does not work (testing.md) (#508)
Browse files Browse the repository at this point in the history
use fiveam:test

* #490
  • Loading branch information
able-j authored Oct 31, 2023
1 parent ba958aa commit 523f0ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ We said earlier that a check accepts an optional custom reason that can be forma
We are testing a math function:

~~~lisp
(test simple-maths
(fiveam:test simple-maths
(is (= 3 (+ 1 1))))
~~~

Expand Down Expand Up @@ -272,7 +272,7 @@ Running test suite NIL
Now, we can give it a custom reason:

~~~lisp
(test simple-maths
(fiveam:test simple-maths
(is (= 3 (+ 1 1))
"Maths should work, right? ~a. Another parameter is: ~S" t :foo))
~~~
Expand Down

0 comments on commit 523f0ad

Please sign in to comment.