diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-01 12:50:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-01 12:50:56 -0400 |
| commit | c29c5f578cbcfb10a4eb5c4e790e73c531f5cceb (patch) | |
| tree | b980f6fad2b2ad41b3c3914840195087904d9678 /test | |
| parent | 67bef2ac92ec771614c55126b2e50f46869a9051 (diff) | |
Add test for path field access
Diffstat (limited to 'test')
| -rw-r--r-- | test/paths.tm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm index e72cddec..01be9b05 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -99,3 +99,8 @@ func main() say("Globbing:") >> (./*.tm).glob() + + assert (./foo).type == Relative + assert (/foo).type == Absolute + assert (~/foo).type == Home + assert (/foo/baz).components == ["foo", "baz"] |
