Skip to content

Commit

Permalink
Moved old test into t_canary
Browse files Browse the repository at this point in the history
  • Loading branch information
marick committed Apr 29, 2011
1 parent a7cc8fd commit c1de8a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/behaviors/t_canary.clj
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,11 @@
(provided
(all-procedures) => [...procedure...] ))

(unfinished f)
(against-background [ (f 1) => 2 ]
(after-silently
(fact "prerequisites can be used within checks"
(against-background (around :checks (let [x 1] ?form)))
(+ (f x) 2) => 4)
(fact (only-passes? 1) => truthy)))

0 comments on commit c1de8a0

Please sign in to comment.