diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/paths.tm | 4 | ||||
| -rw-r--r-- | test/reductions.tm | 4 | ||||
| -rw-r--r-- | test/tables.tm | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/paths.tm b/test/paths.tm index 72cac24d..e8cfd2ab 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -24,8 +24,8 @@ func main(): >> tmpfile:append("!") >> tmpfile:read() = "Hello world!"? - >> tmpfile:read_bytes() - = [0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x77, 0x6F, 0x72, 0x6C, 0x64, 0x21]? + >> tmpfile:read_bytes()! + = [0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x77, 0x6F, 0x72, 0x6C, 0x64, 0x21] >> tmpdir:files():has(tmpfile) = yes diff --git a/test/reductions.tm b/test/reductions.tm index 4f33bb20..f0618b21 100644 --- a/test/reductions.tm +++ b/test/reductions.tm @@ -6,7 +6,7 @@ func main(): >> empty_ints : [Int] = [] >> (+: empty_ints) - = none : Int + = none >> (+: [10, 20, 30]) or 0 = 60 @@ -38,7 +38,7 @@ func main(): = yes >> (<=: empty_ints) - = none : Bool + = none >> (<=: [5, 4, 3, 2, 1])! = no diff --git a/test/tables.tm b/test/tables.tm index e75788bb..00dc71da 100644 --- a/test/tables.tm +++ b/test/tables.tm @@ -22,7 +22,7 @@ func main(): >> t.length = 2 >> t.fallback - = none : {Text=Int} + = none >> t.keys = ["one", "two"] |
