tests/functional2/lang: Refactor test outputs

How long do we have the value printer already? It's time to stop
concatenating strings like it's 2005

Change-Id: I3f5074de2439a1ad78af94de877bb141bc9f1d82
This commit is contained in:
piegames
2025-11-24 16:31:29 +01:00
parent 0167bf56f5
commit 45e4bec59e
27 changed files with 195 additions and 244 deletions
@@ -1 +1 @@
"foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/yescape: \"quote\" \n \\end\nof\nlinefoobarblaatfoo$bar$\"$\"$"
[ "foobar" "/a/b/c/d" "/foo/xyzzy/foo.txt" "/../foo/x/y" "escape: \"quote\" \n \\" "end\nof\nline" "foobarblaat" "foo$bar" "$\"$\"" "$" ]
+12 -10
View File
@@ -1,12 +1,14 @@
"foo" + "bar"
+ toString (/a/b + /c/d)
+ toString (/foo/bar + "/../xyzzy/." + "/foo.txt")
+ ("/../foo" + toString /x/y)
+ "escape: \"quote\" \n \\"
+ "end
[
("foo" + "bar")
(toString (/a/b + /c/d))
(toString (/foo/bar + "/../xyzzy/." + "/foo.txt"))
("/../foo" + toString /x/y)
"escape: \"quote\" \n \\"
"end
of
line"
+ "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
+ "foo$bar"
+ "$\"$\""
+ "$"
"foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
"foo$bar"
"$\"$\""
"$"
]