aboutsummaryrefslogtreecommitdiff
path: root/test/paths.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-16 15:12:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-16 15:12:54 -0400
commit6d0f04375df942985292d0a6b6e487db9a09f3fa (patch)
treecad6fbb4008240cf7280b77fa226f9518f44faac /test/paths.tm
parenta9a21c40d91ea75066023854739c6a98a36c8a76 (diff)
Have Text:matches() return an optional array of matches
Diffstat (limited to 'test/paths.tm')
-rw-r--r--test/paths.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/paths.tm b/test/paths.tm
index 4ef0b028..92a14640 100644
--- a/test/paths.tm
+++ b/test/paths.tm
@@ -84,7 +84,7 @@ func main():
>> (./foo.txt):ends_with(".txt")
= yes
>> (./foo.txt):matches($|{..}/foo{..}|)
- = yes
+ = [".", ".txt"]?
>> (./foo.txt):replace($/.txt/, ".md")
= (./foo.md)