tgutu / clunit

CLUnit: A Common Lisp Unit Testing Framework.
http://tgutu.github.com/clunit
MIT License
23 stars 5 forks source link

Documentation Bug: Defining a Test Case #10

Open snunez1 opened 9 years ago

snunez1 commented 9 years ago

The documentation here: http://tgutu.github.io/clunit/#clunit_4 describes a test case:

;; Define a test called TEST-INT1 (deftest test-int1 (IntegerSuite) (assert-true (= 1 -1)) (assert-equality 4 (+ 2 2)))

that fails when run because of:

(4 (+ 2 2)) can't be destructured against the lambda list (CLUNIT::TEST CLUNIT::VALUE CLUNIT::EXPRESSION &BODY CLUNIT::FORMS), because it does not contain at least 3 elements.

snunez1 commented 9 years ago

Any chance of getting these looked at? Seems cl-unit isn't in good health. Abandoned-ware?

bendudson commented 7 years ago

I think this was due to commit 5229577 which modified assert-equality but did not update the tutorial. The fix is to change assert-equality to assert-equality*

Anyone know where the source for http://tgutu.github.io/clunit/#clunit_4 is hosted?