Permalink
Browse files

0.7.1

  • Loading branch information...
1 parent 2679c2d commit 0edd628cfda7795d54e030795b3dd70099512425 @marick marick committed Nov 3, 2010
View
@@ -1,10 +1,11 @@
-= 0.7.1
+= 0.7.1 (stable)
* Three new checkers: map-containing, maps-containing, and
only-maps-containing.
* Chatty checkers are much improved.
http://github.com/marick/Midje/wiki/Chatty-checkers
+* Some bug fixes
-= 0.7.0 (stable)
+= 0.7.0
* Chatty checkers
http://github.com/marick/Midje/wiki/Chatty-checkers
* Added a leiningen plugin to get tidy test reports.
@@ -2,7 +2,7 @@
:description "An example of using Midje semi-sweet mocking"
:dependencies [[org.clojure/clojure "[1.1.0,1.2.0]"]
[org.clojure/clojure-contrib "[1.1.0,1.2.0]"]
- [midje "0.7.0"]
+ [midje "0.7.1"]
]
)
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.1.0.jar:../lib/clojure-contrib-1.1.0.jar:../lib/midje-0.7.0.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
+java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/midje-0.7.1.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
@@ -10,5 +10,5 @@
[hiccup "0.2.6"]]
:dev-dependencies
[[lein-run "1.0.0"]
- [midje "0.7.0"]
+ [midje "0.7.1"]
])
@@ -2,6 +2,6 @@
:description "An example of using Midje's sweet interface"
:dependencies [[org.clojure/clojure "[1.1.0,1.2.0]"]
[org.clojure/clojure-contrib "[1.1.0,1.2.0]"]
- [midje "0.7.0"]]
+ [midje "0.7.1"]]
)
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.1.0.jar:../lib/clojure-contrib-1.1.0.jar:../lib/midje-0.7.0.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
+java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/midje-0.7.1.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
@@ -2,4 +2,4 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
- [midje "0.7.0"]])
+ [midje "0.7.1"]])
@@ -2,4 +2,4 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
- [midje "0.7.0"]])
+ [midje "0.7.1"]])
@@ -75,9 +75,8 @@
(first list-like-thing)))
(defn only-maps-containing [& maps-or-maplist]
- "Each element in the actual result matches some map in the expected
- result, where 'match' means #'contains-map. There may be no extra
- maps in either the actual or expected result.
+ "Each map in the argument(s) contains some map in the expected
+ result. There may be no extra maps in either the argument(s) or expected result.
You can call this with either (only-maps-containing {..} {..}) or
(only-maps-containing [ {..} {..} ])."
@@ -89,9 +88,8 @@
false))))
(defn maps-containing [& maps-or-maplist]
- "Each element in the actual result matches some map in the expected
- result, where 'match' means #'contains-map. There may be extra
- maps in the actual result.
+ "Each map in the argument(s) contains contains some map in the expected
+ result. There may be extra maps in the actual result.
You can call this with either (maps-containing {..} {..}) or
(maps-containing [ {..} {..} ])."

0 comments on commit 0edd628

Please sign in to comment.