We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89fa56a commit 9638bbfCopy full SHA for 9638bbf
test/re_frame/subs_test.cljs
@@ -220,7 +220,7 @@
220
(is (= {:a [1 :c] :b [2 :c]} @test-sub))))
221
222
(deftest test-sub-macros-<-
223
- "test the syntactial sugar"
+ "test the syntactical sugar"
224
(subs/reg-sub
225
:a-sub
226
(fn [db [_]] (:a db)))
@@ -235,7 +235,7 @@
235
(is (= {:a 1} @test-sub))))
236
237
(deftest test-sub-macros-chained-parameters-<-
238
239
240
241
@@ -252,7 +252,7 @@
252
253
(let [test-sub (subs/subscribe [:a-b-sub :c])]
254
(reset! db/app-db {:a 1 :b 2})
255
- (is (= {:a 1 :b 2} @test-sub) )))
+ (is (= {:a 1 :b 2} @test-sub))))
256
257
(deftest test-registering-subs-doesnt-create-subscription
258
(let [sub-called? (atom false)]
0 commit comments