Skip to content

Commit

Permalink
update tests for new scheduling rules
Browse files Browse the repository at this point in the history
  • Loading branch information
leonoel committed Oct 4, 2024
1 parent 342fb47 commit f09f3df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/hyperfiddle/electric3_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,8 @@
[% %] := [:up :up]
% := [1 1]
(swap! !input pop)
% := [1]
% := :down))
% := :down
% := [1]))
% := :down)

(tests "reactive metadata"
Expand Down Expand Up @@ -1250,9 +1250,9 @@
% := :up
% := 0
(swap! !state inc)
% := :down
% := :up
% := 1
% := :down)
% := 1)
% := :down
(instance? Cancelled %) := true))

Expand Down Expand Up @@ -2335,9 +2335,9 @@
(s 1 {} nil)
% := '[join 0 notified]
% := '[join 0 cancelled]
% := '[join 0 terminated]
(update % 3 first) := (conj '[join 0 transferred ::dbg/ex])
% := '[join 0 cancelled]
;; % := '[join 0 terminated] ; MISSING
(tap ::done), % := ::done)))

(tests
Expand All @@ -2355,9 +2355,9 @@
(s 1 {} nil)
% := '[join 0 notified]
% := '[join 0 cancelled]
% := '[join 0 terminated]
(update % 3 first) := (conj '[join 0 transferred ::dbg/ex])
% := '[join 0 cancelled]
% := '[join 0 terminated]
(tap ::done), % := ::done)))

;; if we don't type hint the call to `fooBar` in the compiler the tests blow up on the inference warning.
Expand Down

0 comments on commit f09f3df

Please sign in to comment.