1 From 2e408648aad42901d96df01fe8475a18054e32c2 Mon Sep 17 00:00:00 2001
2 From: Jeremy Ashkenas <jashkenas@gmail.com>
3 Date: Sun, 2 Jun 2013 10:57:18 +0400
4 Subject: [PATCH] renaming import test files to avoid risking the disfavor of
8 test/importing.coffee | 6 +++---
9 test/importing/.import.coffee | 2 ++
10 test/importing/.import.coffee.md | 3 +++
11 test/importing/.import2 | 2 ++
12 test/importing/.test.coffee | 2 --
13 test/importing/.test.coffee.md | 3 ---
14 test/importing/.test2 | 2 --
15 test/importing/import.coffee | 2 ++
16 test/importing/import.coffee.md | 3 +++
17 test/importing/import.extension.coffee | 2 ++
18 test/importing/import.extension.coffee.md | 3 +++
19 test/importing/import.extension.js | 2 ++
20 test/importing/import.js | 2 ++
21 test/importing/import.litcoffee | 3 +++
22 test/importing/import.unknownextension | 2 ++
23 test/importing/import2 | 2 ++
24 test/importing/test.coffee.md | 3 ---
25 test/importing/test.extension.coffee | 2 --
26 test/importing/test.extension.coffee.md | 3 ---
27 test/importing/test.extension.js | 2 --
28 test/importing/test.js | 2 --
29 test/importing/test.unknownextension | 2 --
30 test/importing/test2 | 2 --
31 23 files changed, 31 insertions(+), 26 deletions(-)
32 create mode 100644 test/importing/.import.coffee
33 create mode 100644 test/importing/.import.coffee.md
34 create mode 100644 test/importing/.import2
35 delete mode 100644 test/importing/.test.coffee
36 delete mode 100644 test/importing/.test.coffee.md
37 delete mode 100644 test/importing/.test2
38 create mode 100644 test/importing/import.coffee
39 create mode 100644 test/importing/import.coffee.md
40 create mode 100644 test/importing/import.extension.coffee
41 create mode 100644 test/importing/import.extension.coffee.md
42 create mode 100644 test/importing/import.extension.js
43 create mode 100644 test/importing/import.js
44 create mode 100644 test/importing/import.litcoffee
45 create mode 100644 test/importing/import.unknownextension
46 create mode 100644 test/importing/import2
47 delete mode 100644 test/importing/test.coffee.md
48 delete mode 100644 test/importing/test.extension.coffee
49 delete mode 100644 test/importing/test.extension.coffee.md
50 delete mode 100644 test/importing/test.extension.js
51 delete mode 100644 test/importing/test.js
52 delete mode 100644 test/importing/test.unknownextension
53 delete mode 100644 test/importing/test2
55 diff --git a/test/importing.coffee b/test/importing.coffee
56 index 91d56d4..96fff02 100644
57 --- a/test/importing.coffee
58 +++ b/test/importing.coffee
59 @@ -19,16 +19,16 @@ unless window? or testingBrowser?
61 test "javascript modules can be imported", ->
63 - for module in 'test.js test2 .test2 test.extension.js test.unknownextension .coffee .coffee.md'.split ' '
64 + for module in 'import.js import2 .import2 import.extension.js import.unknownextension .coffee .coffee.md'.split ' '
65 ok require("./importing/#{module}").value?() is magicVal, module
67 test "coffeescript modules can be imported", ->
69 - for module in '.test.coffee test.coffee test.extension.coffee'.split ' '
70 + for module in '.import.coffee import.coffee import.extension.coffee'.split ' '
71 ok require("./importing/#{module}").value?() is magicVal, module
73 test "literate coffeescript modules can be imported", ->
75 # Leading space intentional to check for index.coffee.md
76 - for module in ' .test.coffee.md test.coffee.md test.litcoffee test.extension.coffee.md'.split ' '
77 + for module in ' .import.coffee.md import.coffee.md import.litcoffee import.extension.coffee.md'.split ' '
78 ok require("./importing/#{module}").value?() is magicVal, module
79 diff --git a/test/importing/.import.coffee b/test/importing/.import.coffee
81 index 0000000..ff8ad83
83 +++ b/test/importing/.import.coffee
85 +# Required by ../importing.coffee
86 +module.exports = {value: -> 2}
87 diff --git a/test/importing/.import.coffee.md b/test/importing/.import.coffee.md
89 index 0000000..99459eb
91 +++ b/test/importing/.import.coffee.md
93 +Required by ../importing.coffee
95 + module.exports = {value: -> 3}
96 diff --git a/test/importing/.import2 b/test/importing/.import2
98 index 0000000..34f70d6
100 +++ b/test/importing/.import2
102 +// Required by ../importing.coffee
103 +module.exports = {value: function(){return 1;}};
104 diff --git a/test/importing/.test.coffee b/test/importing/.test.coffee
105 deleted file mode 100644
106 index ff8ad83..0000000
107 --- a/test/importing/.test.coffee
110 -# Required by ../importing.coffee
111 -module.exports = {value: -> 2}
112 diff --git a/test/importing/.test.coffee.md b/test/importing/.test.coffee.md
113 deleted file mode 100644
114 index 99459eb..0000000
115 --- a/test/importing/.test.coffee.md
118 -Required by ../importing.coffee
120 - module.exports = {value: -> 3}
121 diff --git a/test/importing/.test2 b/test/importing/.test2
122 deleted file mode 100644
123 index 34f70d6..0000000
124 --- a/test/importing/.test2
127 -// Required by ../importing.coffee
128 -module.exports = {value: function(){return 1;}};
129 diff --git a/test/importing/import.coffee b/test/importing/import.coffee
131 index 0000000..ff8ad83
133 +++ b/test/importing/import.coffee
135 +# Required by ../importing.coffee
136 +module.exports = {value: -> 2}
137 diff --git a/test/importing/import.coffee.md b/test/importing/import.coffee.md
139 index 0000000..99459eb
141 +++ b/test/importing/import.coffee.md
143 +Required by ../importing.coffee
145 + module.exports = {value: -> 3}
146 diff --git a/test/importing/import.extension.coffee b/test/importing/import.extension.coffee
148 index 0000000..ff8ad83
150 +++ b/test/importing/import.extension.coffee
152 +# Required by ../importing.coffee
153 +module.exports = {value: -> 2}
154 diff --git a/test/importing/import.extension.coffee.md b/test/importing/import.extension.coffee.md
156 index 0000000..99459eb
158 +++ b/test/importing/import.extension.coffee.md
160 +Required by ../importing.coffee
162 + module.exports = {value: -> 3}
163 diff --git a/test/importing/import.extension.js b/test/importing/import.extension.js
165 index 0000000..34f70d6
167 +++ b/test/importing/import.extension.js
169 +// Required by ../importing.coffee
170 +module.exports = {value: function(){return 1;}};
171 diff --git a/test/importing/import.js b/test/importing/import.js
173 index 0000000..34f70d6
175 +++ b/test/importing/import.js
177 +// Required by ../importing.coffee
178 +module.exports = {value: function(){return 1;}};
179 diff --git a/test/importing/import.litcoffee b/test/importing/import.litcoffee
181 index 0000000..99459eb
183 +++ b/test/importing/import.litcoffee
185 +Required by ../importing.coffee
187 + module.exports = {value: -> 3}
188 diff --git a/test/importing/import.unknownextension b/test/importing/import.unknownextension
190 index 0000000..34f70d6
192 +++ b/test/importing/import.unknownextension
194 +// Required by ../importing.coffee
195 +module.exports = {value: function(){return 1;}};
196 diff --git a/test/importing/import2 b/test/importing/import2
198 index 0000000..34f70d6
200 +++ b/test/importing/import2
202 +// Required by ../importing.coffee
203 +module.exports = {value: function(){return 1;}};
204 diff --git a/test/importing/test.coffee.md b/test/importing/test.coffee.md
205 deleted file mode 100644
206 index 99459eb..0000000
207 --- a/test/importing/test.coffee.md
210 -Required by ../importing.coffee
212 - module.exports = {value: -> 3}
213 diff --git a/test/importing/test.extension.coffee b/test/importing/test.extension.coffee
214 deleted file mode 100644
215 index ff8ad83..0000000
216 --- a/test/importing/test.extension.coffee
219 -# Required by ../importing.coffee
220 -module.exports = {value: -> 2}
221 diff --git a/test/importing/test.extension.coffee.md b/test/importing/test.extension.coffee.md
222 deleted file mode 100644
223 index 99459eb..0000000
224 --- a/test/importing/test.extension.coffee.md
227 -Required by ../importing.coffee
229 - module.exports = {value: -> 3}
230 diff --git a/test/importing/test.extension.js b/test/importing/test.extension.js
231 deleted file mode 100644
232 index 34f70d6..0000000
233 --- a/test/importing/test.extension.js
236 -// Required by ../importing.coffee
237 -module.exports = {value: function(){return 1;}};
238 diff --git a/test/importing/test.js b/test/importing/test.js
239 deleted file mode 100644
240 index 34f70d6..0000000
241 --- a/test/importing/test.js
244 -// Required by ../importing.coffee
245 -module.exports = {value: function(){return 1;}};
246 diff --git a/test/importing/test.unknownextension b/test/importing/test.unknownextension
247 deleted file mode 100644
248 index 34f70d6..0000000
249 --- a/test/importing/test.unknownextension
252 -// Required by ../importing.coffee
253 -module.exports = {value: function(){return 1;}};
254 diff --git a/test/importing/test2 b/test/importing/test2
255 deleted file mode 100644
256 index 34f70d6..0000000
257 --- a/test/importing/test2
260 -// Required by ../importing.coffee
261 -module.exports = {value: function(){return 1;}};