diff options
Diffstat (limited to 'test/paths.tm')
| -rw-r--r-- | test/paths.tm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm index a76575e8..bcda8e1f 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -13,6 +13,9 @@ func main() >> tmpdir := (/tmp/tomo-test-path-XXXXXX).unique_directory() assert (/tmp).subdirectories().has(tmpdir) + >> optional_path : Path? = (./foo) + assert optional_path == (./foo) + >> tmpfile := (tmpdir++(./one.txt)) >> tmpfile.write("Hello world") >> tmpfile.append("!") |
