From 73a2493d15b146f0dda6dc8db3de463422464118 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Feb 2026 00:01:48 -0500 Subject: Fix and remove tests --- src/compile/text.c | 1 + test/paths.tm | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/compile/text.c b/src/compile/text.c index 2a64ca45..5ea89895 100644 --- a/src/compile/text.c +++ b/src/compile/text.c @@ -20,6 +20,7 @@ Text_t expr_as_text(Text_t expr, type_t *t, Text_t color) { // fields: return Texts("Bool$as_text((Bool_t[1]){", expr, "}, ", color, ", &Bool$info)"); case CStringType: return Texts("CString$as_text(stack(", expr, "), ", color, ", &CString$info)"); + case PathType: return Texts("Path$as_text(stack(", expr, "), ", color, ", &Path$info)"); case BigIntType: case IntType: case ByteType: diff --git a/test/paths.tm b/test/paths.tm index 6622847e..c9efa874 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -102,9 +102,3 @@ func main() say("Globbing:") >> (./*.tm).glob() - - assert (./foo).RelativePath - assert (/foo).AbsolutePath - assert (~/foo).HomePath - assert (/foo/baz).components() == ["foo", "baz"] - assert Path.RelativePath(["foo", "baz"]) == (./foo/baz) -- cgit v1.2.3