Skip to content
Browse files

Fix extra nesting when a defgroup only has one datadriven test in it

  • Loading branch information...
1 parent f60b542 commit 4d532a85f20396ff2b34506b42ea7fb6c4315e9f @weissjeffm committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/tree/script.clj
View
2 src/test/tree/script.clj
@@ -17,7 +17,7 @@
(defn normalize "make sure it's either a single map or vector of maps - NOT a plain list"
[tests]
(if (map? tests) tests
- (vec tests)))
+ (vec (flatten tests))))
(defmacro runtime-data
"Creates data for a data driven test, where each row of data will

0 comments on commit 4d532a8

Please sign in to comment.
Something went wrong with that request. Please try again.