Revert "Fixing Rackunit tests after alignment"
This reverts commit 4497c8ce5e
,
because the tests were correctly reporting a bug that I
introduced.
This commit is contained in:
parent
6e2bb58cce
commit
b95b1b9366
|
@ -20,5 +20,5 @@
|
|||
(make-check-actual 1)
|
||||
(make-check-expected 2)))
|
||||
(get-output-string p))
|
||||
" name: \"foo\"\n actual: 1\n expected: 2\n\n"))))
|
||||
"name: \"foo\"\nactual: 1\nexpected: 2\n\n"))))
|
||||
))
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
(test
|
||||
(regexp-match
|
||||
(regexp
|
||||
(format "~a.*~a"
|
||||
(regexp-quote "--------------------\ntests > #f\nUnnamed test \nFAILURE\n name: check3\n location: pr10950.rkt:14:50\n params: \nCheck failure\n context...:\n")
|
||||
(regexp-quote "\n--------------------\n0 success(es) 1 failure(s) 0 error(s) 1 test(s) run\n")))
|
||||
(regexp (format "~a.*~a.*~a"
|
||||
(regexp-quote "--------------------\ntests > #f\nUnnamed test \nFAILURE\nname: check3\nlocation: ")
|
||||
(regexp-quote "pr10950.rkt:14:51")
|
||||
(regexp-quote "0 success(es) 1 failure(s) 0 error(s) 1 test(s) run\n")))
|
||||
output))
|
||||
|
|
|
@ -39,11 +39,10 @@ Outta here!
|
|||
--------------------
|
||||
--------------------
|
||||
FAILURE
|
||||
name: check
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-check-test.rkt> 44 0 1344 17)
|
||||
name: check
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-check-test.rkt> 44 0 1344 17)
|
||||
expression: (check = 1 2)
|
||||
params: (#<procedure:=> 1 2)
|
||||
message: 0.0
|
||||
params: (#<procedure:=> 1 2)\nmessage: 0.0
|
||||
|
||||
Check failure
|
||||
--------------------
|
||||
|
@ -65,22 +64,22 @@ Second Outta here!
|
|||
--------------------
|
||||
--------------------
|
||||
FAILURE
|
||||
name: check-eq?
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 19 12 520 15)
|
||||
name: check-eq?
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 19 12 520 15)
|
||||
expression: (check-eq? 1 2)
|
||||
actual: 1
|
||||
expected: 2
|
||||
actual: 1
|
||||
expected: 2
|
||||
|
||||
Check failure
|
||||
--------------------
|
||||
--------------------
|
||||
failure
|
||||
FAILURE
|
||||
name: check-eq?
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 20 21 558 15)
|
||||
name: check-eq?
|
||||
location: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 20 21 558 15)
|
||||
expression: (check-eq? 1 2)
|
||||
actual: 1
|
||||
expected: 2
|
||||
actual: 1
|
||||
expected: 2
|
||||
|
||||
Check failure
|
||||
--------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user