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/input_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/input_spec.moon')
| -rw-r--r-- | spec/input_spec.moon | 6 |
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! |
