File tree 3 files changed +26
-14
lines changed
3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 2042
2042
(is (= 11 @c))
2043
2043
(is (= [11 0 ] (reset-vals! c 0 )))
2044
2044
(is (= 0 @c)))))
2045
-
2046
- (defn cljs-3411-function
2047
- " this function adds two numbers"
2048
- {:test #(do
2049
- (assert (= (cljs-3411-function 2 3 ) 5 ))
2050
- (assert (= (cljs-3411-function 4 4 ) 8 )))}
2051
- ([x y] (+ x y)))
2052
-
2053
- (deftest cljs-3411
2054
- (testing " cljs.core/test respects docstring"
2055
- (is (= :ok (test cljs-3411)))
2056
- (is (= :ok (test #'cljs-3411)))))
Original file line number Diff line number Diff line change
1
+ ; ; Copyright (c) Rich Hickey. All rights reserved.
2
+ ; ; The use and distribution terms for this software are covered by the
3
+ ; ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
4
+ ; ; which can be found in the file epl-v10.html at the root of this distribution.
5
+ ; ; By using this software in any fashion, you are agreeing to be bound by
6
+ ; ; the terms of this license.
7
+ ; ; You must not remove this notice, or any other, from this software.
8
+
9
+ (ns cljs.var-test
10
+ (:require [cljs.test :refer-macros [deftest is]]))
11
+
12
+ (defn cljs-3411-function
13
+ " this function adds two numbers"
14
+ {:test #(do
15
+ (assert (= (cljs-3411-function 2 3 ) 5 ))
16
+ (assert (= (cljs-3411-function 4 4 ) 8 )))}
17
+ ([x y] (+ x y)))
18
+
19
+ (deftest cljs-3411
20
+ (testing " cljs.core/test respects docstring"
21
+ (is (= :ok (test cljs-3411)))
22
+ (is (= :ok (test #'cljs-3411)))))
Original file line number Diff line number Diff line change 57
57
[cljs.inference-test]
58
58
[cljs.walk-test]
59
59
[cljs.repl-test]
60
- [cljs.extend-to-native-test]))
60
+ [cljs.extend-to-native-test]
61
+ [cljs.var-test]))
61
62
62
63
(set! *print-newline* false )
63
64
116
117
'cljs.inference-test
117
118
'cljs.walk-test
118
119
'cljs.repl-test
119
- 'cljs.extend-to-native-test)
120
+ 'cljs.extend-to-native-test
121
+ 'cljs.var-test)
You can’t perform that action at this time.
0 commit comments