Permalink
Browse files

immigrate midje.clojure.core into test-utils

  • Loading branch information...
1 parent bc2f829 commit 2a9930c734b6dd95d39198d31ba2aea933006f1c @marick committed Jan 26, 2013
View
2 test/midje/clojure/t_core.clj
@@ -1,5 +1,5 @@
(ns midje.clojure.t-core
- (:use midje.clojure.core)
+ ;; (:use midje.clojure.core) - note that test-util immigrates midje.clojure.core
(:use midje.sweet
midje.test-util))
View
1 test/midje/parsing/2_to_lexical_maps/t_examples.clj
@@ -1,6 +1,5 @@
(ns midje.parsing.2-to-lexical-maps.t-examples
(:use [clojure.test] ;; This is used to check production mode with deftest.
- midje.clojure.core
[midje.sweet]
[midje.parsing.2-to-lexical-maps.examples]
[midje.util form-utils]
View
4 test/midje/test_util.clj
@@ -6,12 +6,14 @@
midje.error-handling.exceptions
[clojure.set :only [subset?]]
[midje.util.form-utils :only [macro-for]])
- (:require
+ (:require midje.clojure.core
[midje.config :as config]
[clojure.string :as str]
[midje.emission.api :as emit]
[midje.emission.state :as state]))
+(midje.clojure.core/immigrate 'midje.clojure.core)
+
;;; The "silent" versions of fact and formula, which produce no user-visible results
;;; but do stash failures for later examination.

0 comments on commit 2a9930c

Please sign in to comment.