aboutsummaryrefslogtreecommitdiffstats
path: root/spec/input_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/input_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/input_spec.moon')
-rw-r--r--spec/input_spec.moon6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/input_spec.moon b/spec/input_spec.moon
index 8dbd726..3a8eff9 100644
--- a/spec/input_spec.moon
+++ b/spec/input_spec.moon
@@ -13,8 +13,8 @@ basic_tests = (result, input) ->
assert.is.equal result, input.result
it 'forwards :unwrap', ->
- assert.is.same result\unwrap!, input\unwrap!
- assert.is.same result\unwrap!, input!
+ assert.is.equal result\unwrap!, input\unwrap!, nil
+ assert.is.equal result\unwrap!, input!, nil
it 'gives access to the type string', ->
assert.is.equal result.type, input\type!
@@ -96,7 +96,7 @@ describe 'Input.hot', ->
input\finish_setup!
COPILOT\next_tick!
- result\add 1
+ result\set 1
assert.is.true input\dirty!
assert.is.true result\dirty!