aboutsummaryrefslogtreecommitdiff
path: root/test/paths.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/paths.tm')
-rw-r--r--test/paths.tm6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm
index 946526bb..4ef0b028 100644
--- a/test/paths.tm
+++ b/test/paths.tm
@@ -81,6 +81,12 @@ func main():
>> (../foo):parent()
= (../)
+ >> (./foo.txt):ends_with(".txt")
+ = yes
+ >> (./foo.txt):matches($|{..}/foo{..}|)
+ = yes
+ >> (./foo.txt):replace($/.txt/, ".md")
+ = (./foo.md)
# Concatenation tests:
!! Basic relative path concatenation: