Permalink
Browse files

fix alignment

  • Loading branch information...
1 parent 65bc3c6 commit 03f8bb2145f1b3b6dd73c2112e899aa6a0e076b0 @mylesmegyesi mylesmegyesi committed Dec 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/speclj/should_spec.clj
  2. +1 −1 src/speclj/core.clj
@@ -333,7 +333,7 @@
(it "fails with an error message"
(should=
- (str "Expected <1> to be an instance of: <java.lang.Integer>" endl "but was an instance of: <java.lang.Long> (using isa?)")
+ (str "Expected <1> to be an instance of: <java.lang.Integer>" endl " but was an instance of: <java.lang.Long> (using isa?)")
(failure-message (should-be-a Integer (long 1)))))
)
View
@@ -331,7 +331,7 @@ When a string is also passed, it asserts that the message of the Exception is eq
(if-not (isa? actual-type# expected-type#)
(throw
(SpecFailure.
- (str "Expected " (-to-s actual#) " to be an instance of: " (-to-s expected-type#) endl "but was an instance of: " (-to-s actual-type#) " (using isa?)"))))))
+ (str "Expected " (-to-s actual#) " to be an instance of: " (-to-s expected-type#) endl " but was an instance of: " (-to-s actual-type#) " (using isa?)"))))))
(defmacro should-not-be-a
"Asserts that the type of the given form does not derives from or equals the expected type"

0 comments on commit 03f8bb2

Please sign in to comment.