aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rtnode_spec.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-05-11 17:24:51 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:23:21 +0000
commit4ca20944892bebc0ddac7aa23ed8abef5d537209 (patch)
treefe1f4de29ec578ddc7c226739287796fc9b70353 /spec/rtnode_spec.moon
parentmake <num! 4> == <num= 4> (diff)
downloadalive-4ca20944892bebc0ddac7aa23ed8abef5d537209.tar.gz
alive-4ca20944892bebc0ddac7aa23ed8abef5d537209.zip
make EvtStreams carry a single value
Diffstat (limited to 'spec/rtnode_spec.moon')
-rw-r--r--spec/rtnode_spec.moon6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/rtnode_spec.moon b/spec/rtnode_spec.moon
index 5dfebf7..9c62350 100644
--- a/spec/rtnode_spec.moon
+++ b/spec/rtnode_spec.moon
@@ -115,7 +115,7 @@ describe 'RTNode', ->
b_child = node_with_sideinput b_value, b_input
it 'updates children when a side_input is dirty', ->
- a_value\add 1
+ a_value\set 1
assert.is.true a_input\dirty!
assert.is.false b_input\dirty!
@@ -142,7 +142,7 @@ describe 'RTNode', ->
assert.spy(b).was_not_called!
it 'updates op when any op-inputs are dirty', ->
- a_value\add 1
+ a_value\set 1
assert.is.true a_input\dirty!
assert.is.false b_input\dirty!
@@ -155,7 +155,7 @@ describe 'RTNode', ->
assert.spy(s).was_called_with match.ref op
it 'early-outs when no op-inputs are dirty', ->
- a_value\add 1
+ a_value\set 1
assert.is.true a_input\dirty!
assert.is.false b_input\dirty!