Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Subdirectories are working out. Fill them with tests.

  • Loading branch information...
commit 995c615263ea0677c717d17fd5acbe330f483faa 1 parent 127ebe4
@marick authored
View
2  test/midje/parsing/t_tabular.clj → ...idje/parsing/0_to_fact_form/t_tabular.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-tabular
+(ns midje.parsing.0-to-fact-form.t-tabular
(:use [midje.parsing.0-to-fact-form.tabular :except [add-binding-note table-binding-maps]]
[midje.data.metaconstant :only [metaconstant-symbol?]]
[midje.error-handling.validation-errors]
View
4 test/midje/parsing/t_background.clj → ...parsing/1_to_normal_form/t_background.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-background
+(ns midje.parsing.1-to-normal-form.t-background
(:require [clojure.zip :as zip])
(:use [midje sweet test-util]
[midje.parsing.util.wrapping :only [for-wrapping-target?]]
@@ -113,7 +113,7 @@
;; a fact because it gets substituted. So we let the caller use "danger" instead.
(letfn [(form-matching? [expected]
(fn [actual] (= actual
- (substitute expected {'?danger 'midje.parsing.t-background/?form}))))]
+ (substitute expected {'?danger 'midje.parsing.1-to-normal-form.t-background/?form}))))]
(fact "canonicalized setup/teardown wrappers can be put into final form"
(let [final (state-wrapper '(before :checks (do-something)))]
View
2  test/midje/parsing/t_expects.clj → ...je/parsing/1_to_normal_form/t_expects.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-expects
+(ns midje.parsing.1-to-normal-form.t-expects
(:use [midje.parsing.1-to-normal-form.expects]
[midje.parsing.util.arrows :only [start-of-checking-arrow-sequence?]]
midje.sweet
View
2  test/midje/parsing/t_facts.clj → ...idje/parsing/1_to_normal_form/t_facts.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-facts
+(ns midje.parsing.1-to-normal-form.t-facts
(:use midje.parsing.1-to-normal-form.facts
midje.sweet midje.test-util)
(:require [clojure.zip :as zip]
View
2  test/midje/parsing/t_metaconstants.clj → ...sing/1_to_normal_form/t_metaconstants.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-metaconstants
+(ns midje.parsing.1-to-normal-form.t-metaconstants
(:use midje.parsing.1-to-normal-form.metaconstants
[midje sweet test-util]
clojure.pprint)
View
6 test/midje/parsing/t_metadata.clj → ...e/parsing/1_to_normal_form/t_metadata.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-metadata
+(ns midje.parsing.1-to-normal-form.t-metadata
(:use midje.sweet
midje.test-util
midje.parsing.1-to-normal-form.metadata))
@@ -10,8 +10,8 @@
(let [[meta _] (separate-metadata `(fact "doc" ~@a-body))]
(:midje/source meta) => `(fact "doc" ~@a-body)
(:midje/body-source meta) => a-body
- (:midje/file meta) => "midje/parsing/t_metadata.clj"
- (:midje/namespace meta) => 'midje.parsing.t-metadata
+ (:midje/file meta) => "midje/parsing/1_to_normal_form/t_metadata.clj"
+ (:midje/namespace meta) => 'midje.parsing.1-to-normal-form.t-metadata
(contains? meta :midje/line) => truthy))
View
2  test/midje/parsing/t_prerequisites.clj → ...sing/1_to_normal_form/t_prerequisites.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-prerequisites
+(ns midje.parsing.1-to-normal-form.t-prerequisites
(:use midje.parsing.1-to-normal-form.prerequisites
midje.sweet midje.test-util)
(:require [clojure.zip :as zip]
View
2  test/midje/parsing/t_fakes.clj → ...dje/parsing/2_to_lexical_maps/t_fakes.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-fakes
+(ns midje.parsing.2-to-lexical-maps.t-fakes
(:use [midje sweet test-util]
midje.parsing.2-to-lexical-maps.fakes
[utilize.seq :only (find-first only)]
View
2  test/midje/parsing/t_folded_fakes.clj → ...sing/2_to_lexical_maps/t_folded_fakes.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-folded-fakes
+(ns midje.parsing.2-to-lexical-maps.t-folded-fakes
(:use [midje sweet test-util]
midje.parsing.2-to-lexical-maps.folded-fakes
midje.util
View
2  test/midje/parsing/t_from_fake_maps.clj → .../3_from_lexical_maps/t_from_fake_maps.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-from-fake-maps
+(ns midje.parsing.3-from-lexical-maps.t-from-fake-maps
(:use [midje sweet test-util]
[midje.parsing.3-from-lexical-maps.from-fake-maps]
[utilize.seq :only (find-first only)]
View
2  test/midje/parsing/t_arglists.clj → test/midje/parsing/other/t_arglists.clj
@@ -1,4 +1,4 @@
-(ns midje.parsing.t-arglists
+(ns midje.parsing.other.t-arglists
(:use midje.sweet
midje.test-util
midje.parsing.other.arglists)
Please sign in to comment.
Something went wrong with that request. Please try again.