diff options
Diffstat (limited to 'two/+test.ha')
| -rw-r--r-- | two/+test.ha | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/two/+test.ha b/two/+test.ha new file mode 100644 index 0000000..8f61645 --- /dev/null +++ b/two/+test.ha @@ -0,0 +1,8 @@ +use os; +use io; + +@test fn testtwo() void = { + const f = os::open("two/in")!; + defer io::close(f)!; + assert(do(f) == 2); +}; |
