diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-01 12:53:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-01 12:53:23 -0400 |
| commit | 36afd7fbc7fbc5c4df041a4662cbc1da4cfc6441 (patch) | |
| tree | 6a80fd6f6b9c8c7c61f8a4b6abb0b5cfb1088bc7 /test | |
| parent | 6583fe9b389a6b4698f9364945885e6783506886 (diff) | |
| parent | 3d5332493c50b32c683bda8f4d40ec4f12a323ec (diff) | |
Merge branch 'dev' into zero-nones
Diffstat (limited to 'test')
| -rw-r--r-- | test/paths.tm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm index e72cddec..a76575e8 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -99,3 +99,9 @@ func main() say("Globbing:") >> (./*.tm).glob() + + assert (./foo).type == Relative + assert (/foo).type == Absolute + assert (~/foo).type == Home + assert (/foo/baz).components == ["foo", "baz"] + assert Path(type=Relative, ["foo", "baz"]) == (./foo/baz) |
