clunit icon indicating copy to clipboard operation
clunit copied to clipboard

Documentation Bug: Defining a Test Case

Open snunez1 opened this issue 10 years ago • 2 comments

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 avatar Jan 01 '15 01:01 snunez1

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

snunez1 avatar Aug 02 '15 15:08 snunez1

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?

bendudson avatar Oct 01 '17 21:10 bendudson