aboutsummaryrefslogtreecommitdiff
path: root/test/paths.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-09 14:37:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-09 14:37:13 -0400
commitdad567bfc85c0f8c767e0f1cf818493f8143d871 (patch)
treeac50287051d282b60f479d2bee7a9d163e6b5f39 /test/paths.tm
parent900b456a267afc469fb9d79020a6c511e0318959 (diff)
Restore path interpolation
Diffstat (limited to 'test/paths.tm')
-rw-r--r--test/paths.tm4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm
index 84321bab..602a6e6a 100644
--- a/test/paths.tm
+++ b/test/paths.tm
@@ -5,6 +5,10 @@ func main():
>> (~/):exists()
= yes
+ >> filename := "example.txt"
+ >> (~/$filename)
+ = (~/example.txt)
+
>> tmpdir := (/tmp/tomo-test-path-XXXXXX):unique_directory()
>> (/tmp):subdirectories():has(tmpdir)
= yes