aboutsummaryrefslogtreecommitdiff
path: root/test/paths.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
commite422079fcced744e3a6247aeb12a09a658989072 (patch)
tree393d5e52ba67dcc822ccfa9a812198edda5e735d /test/paths.tm
parent259c7efcf8c3808d8151d8e15f1167ad2b6f2ca7 (diff)
Add a Byte datatype
Diffstat (limited to 'test/paths.tm')
-rw-r--r--test/paths.tm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm
index 8d5a92f2..996b6dde 100644
--- a/test/paths.tm
+++ b/test/paths.tm
@@ -24,6 +24,8 @@ func main():
>> tmpfile:append("!")
>> tmpfile:read()
= "Hello world!"
+ >> tmpfile:read_bytes()
+ = [72[B], 101[B], 108[B], 108[B], 111[B], 32[B], 119[B], 111[B], 114[B], 108[B], 100[B], 33[B]]
>> tmpdir:files():has(tmpfile)
= yes