Permalink
Browse files

add example test to try to reproduce amalloy's test error

  • Loading branch information...
1 parent 784b559 commit 26ee37f6247ea2ec46ba35216a970a7d7f152274 @ninjudd committed Dec 20, 2010
Showing with 9 additions and 1 deletion.
  1. +4 −1 examples/test/src/bar.clj
  2. +5 −0 examples/test/test/test_bar.clj
@@ -4,5 +4,8 @@
(defn foo []
(println "this is a bar, FOO!"))
-(defn inc [n]
+(defn bar []
+ 8)
+
+(defn bar-inc [n]
(+ 2 n))
@@ -0,0 +1,5 @@
+(ns test-bar
+ (:use bar clojure.test))
+
+(deftest test-foo
+ (is (= 8 (bar))))

0 comments on commit 26ee37f

Please sign in to comment.