Skip to content

Commit add813b

Browse files
committed
move the tests up to avoid side-effects
1 parent d916c33 commit add813b

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/test/cljs/lite_test_runner.cljs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
;; You must not remove this notice, or any other, from this software.
88

99
(ns lite-test-runner
10-
(:require [cljs.test :refer-macros [run-tests]]
10+
(:require [cljs.proxy-test]
11+
[cljs.test :refer-macros [run-tests]]
1112
[cljs.apply-test]
1213
[cljs.primitives-test]
1314
[cljs.destructuring-test]
@@ -62,8 +63,7 @@
6263
[cljs.repl-test]
6364
[cljs.lite-collections-test]
6465
[cljs.extend-to-native-test]
65-
[cljs.var-test]
66-
[cljs.proxy-test]))
66+
[cljs.var-test]))
6767

6868
(set! *print-newline* false)
6969

@@ -73,6 +73,7 @@
7373
(enable-console-print!))
7474

7575
(run-tests
76+
'cljs.proxy-test
7677
'cljs.apply-test
7778
'cljs.primitives-test
7879
'cljs.destructuring-test
@@ -124,6 +125,4 @@
124125
'cljs.repl-test
125126
'cljs.lite-collections-test
126127
'cljs.extend-to-native-test
127-
'cljs.var-test
128-
'cljs.proxy-test
129-
)
128+
'cljs.var-test)

src/test/cljs/test_runner.cljs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
;; You must not remove this notice, or any other, from this software.
88

99
(ns test-runner
10-
(:require [cljs.test :refer-macros [run-tests]]
10+
(:require [cljs.proxy-test]
11+
[cljs.test :refer-macros [run-tests]]
1112
[cljs.apply-test]
1213
[cljs.primitives-test]
1314
[cljs.destructuring-test]
@@ -61,8 +62,7 @@
6162
[cljs.walk-test]
6263
[cljs.repl-test]
6364
[cljs.extend-to-native-test]
64-
[cljs.var-test]
65-
[cljs.proxy-test]))
65+
[cljs.var-test]))
6666

6767
(set! *print-newline* false)
6868

@@ -72,6 +72,7 @@
7272
(enable-console-print!))
7373

7474
(run-tests
75+
'cljs.proxy-test
7576
'cljs.apply-test
7677
'cljs.primitives-test
7778
'cljs.destructuring-test
@@ -125,5 +126,4 @@
125126
'cljs.walk-test
126127
'cljs.repl-test
127128
'cljs.extend-to-native-test
128-
'cljs.var-test
129-
'cljs.proxy-test)
129+
'cljs.var-test)

0 commit comments

Comments
 (0)