clunit icon indicating copy to clipboard operation
clunit copied to clipboard

Newlines Broken in CCL

Open snunez1 opened this issue 10 years ago • 1 comments

In Clozure, and perhaps other lisps (I couldn't try), the report format differs from that in the tutorial. Newlines are missing, e.g.:

(cls-tests:run)

PROGRESS:

TESTS: (Test Suite)

    COMPOUND: (Test Suite)

        ARITHMETIC: (Test Suite)
            VECTOR-ADDITION: F.

FAILURE DETAILS:================TESTS -> COMPOUND -> ARITHMETIC: (Test Suite) VECTOR-ADDITION: Expression: (= 1 -1) Expected: T Returned: NIL SUMMARY:========Test functions:Executed: 1Skipped: 0Tested 2 assertions.Passed: 1/2 ( 50.0%)Failed: 1/2 ( 50.0%)

snunez1 avatar Jan 01 '15 01:01 snunez1

Hi!

Seems that the default value of *pretty-print* is nil on CCL (according to specs the default value of this variable is implementation dependent). Setting *pretty-print* to t should work.

Bye! C.

cage2 avatar Aug 07 '20 17:08 cage2