~williewillus/r16

34f472bd88a4dedcbdddc390c9ccd27070a23f39 — Sorawee Porncharoenwase 2 years ago 94b151e
Fix a test

check-false should be separate expressions
1 files changed, 2 insertions(+), 2 deletions(-)

M trick-db.rkt
M trick-db.rkt => trick-db.rkt +2 -2
@@ 195,8 195,8 @@
     (check-true (add-trick! db context-id trick-id (thunk (fake-trick "foo"))))
     (check-false (add-trick! db context-id trick-id (thunk (fake-trick "foo2"))))

     (check-false (update-trick! db context-id "nonexistent-id" values (const #t))
                  (check-false (remove-trick! db context-id "nonexistent-id" (const #t))))
     (check-false (update-trick! db context-id "nonexistent-id" values (const #t)))
     (check-false (remove-trick! db context-id "nonexistent-id" (const #t)))

     (delete-directory/files path)))