diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-05-11 17:24:51 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-02 14:23:21 +0000 |
| commit | 4ca20944892bebc0ddac7aa23ed8abef5d537209 (patch) | |
| tree | fe1f4de29ec578ddc7c226739287796fc9b70353 /spec/rtnode_spec.moon | |
| parent | make <num! 4> == <num= 4> (diff) | |
| download | alive-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.moon | 6 |
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! |
