diff options
Diffstat (limited to 'spec/lib/testing_spec.moon')
| -rw-r--r-- | spec/lib/testing_spec.moon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/testing_spec.moon b/spec/lib/testing_spec.moon index 5be7848..0605c00 100644 --- a/spec/lib/testing_spec.moon +++ b/spec/lib/testing_spec.moon @@ -46,7 +46,7 @@ describe "testing", -> assert.is.true \is_const! assert.is.nil .result - with COPILOT\eval_once '(expect= (array 1 2) (array 1 2))' + with COPILOT\eval_once '(expect= [1 2] (mkarray 1 2))' assert.is.true \is_const! assert.is.nil .result @@ -58,7 +58,7 @@ describe "testing", -> assert.has.error -> COPILOT\eval_once '(expect= true false)' assert.has.error -> COPILOT\eval_once '(expect= "asdf" "bsdf")' - assert.has.error -> COPILOT\eval_once '(expect= (array 1 2) (array 1 3))' + assert.has.error -> COPILOT\eval_once '(expect= [1 2] [1 3])' it "fails different types", -> assert.has.error -> COPILOT\eval_once '(expect= true 2)' |
