diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/paths.tm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/paths.tm b/test/paths.tm index bcda8e1f..d7630fc3 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -103,8 +103,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"] - assert Path(type=Relative, ["foo", "baz"]) == (./foo/baz) + assert (./foo).RelativePath + assert (/foo).AbsolutePath + assert (~/foo).HomePath + assert (/foo/baz).components() == ["foo", "baz"] + assert Path.RelativePath(["foo", "baz"]) == (./foo/baz) |
