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-ol@users.noreply.github.com>2020-05-11 17:24:51 +0000
commit63e233439866c6d19dea2aea715e08ace61bece9 (patch)
treecfedb9c7ed8f30623f5edfd04583a12cef0991b3 /spec/rtnode_spec.moon
parentmake <num! 4> == <num= 4> (diff)
downloadalive-63e233439866c6d19dea2aea715e08ace61bece9.tar.gz
alive-63e233439866c6d19dea2aea715e08ace61bece9.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!