From c29c5f578cbcfb10a4eb5c4e790e73c531f5cceb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 1 Oct 2025 12:50:56 -0400 Subject: Add test for path field access --- test/paths.tm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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"] -- cgit v1.2.3