summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-14 14:16:41 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-15 01:19:24 -0700
commit11dc97526dc9a7dcc30cb087b27f588c45266f03 (patch)
treec7a687e7436a265100d27de16d4f94255951d619 /test
parent8cc0e63c31208a10d245f3115bde2e7b886b2770 (diff)
downloadmc-11dc97526dc9a7dcc30cb087b27f588c45266f03.tar.gz
Start working on __init__, check types.
This change both checks the types of main(), and of __init__. __init__ is not yet implemented.
Diffstat (limited to 'test')
-rw-r--r--test/catfile.myr1
-rw-r--r--test/chartest.myr1
2 files changed, 0 insertions, 2 deletions
diff --git a/test/catfile.myr b/test/catfile.myr
index f41e23f..e93349b 100644
--- a/test/catfile.myr
+++ b/test/catfile.myr
@@ -9,6 +9,5 @@ const main = {args : byte[:][:]
| `std.Ok dat: std.write(1, dat)
| `std.Fail msg: std.put("Failed to read file: {}\n", msg)
;;
- -> 0
}
diff --git a/test/chartest.myr b/test/chartest.myr
index 588e706..6559024 100644
--- a/test/chartest.myr
+++ b/test/chartest.myr
@@ -3,5 +3,4 @@ use std
const main = {
std.assert('a' == '\u{61}', "unicode char values invalid")
std.assert('Σ' == '\u{03a3}', "unicode char values invalid")
- -> 0
}