aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/inline_c.tm6
-rw-r--r--test/text.tm11
2 files changed, 5 insertions, 12 deletions
diff --git a/test/inline_c.tm b/test/inline_c.tm
index 77b56249..a9a7d6fc 100644
--- a/test/inline_c.tm
+++ b/test/inline_c.tm
@@ -1,8 +1,8 @@
func main()
- >> C_code:Int32(int x = 1 + 2; x)
+ >> C_code:Int32`int x = 1 + 2; x`
= Int32(3)
- >> C_code {
+ >> C_code `
say(Text("Inline C code works!"), true);
- }
+ `
diff --git a/test/text.tm b/test/text.tm
index 46e1ae41..84c5a2a3 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -107,17 +107,10 @@ func main()
= "A 3"
>> "A \$(1+2)"
= "A \$(1+2)"
- >> `A $(1+2)`
+ >> 'A $(1+2)'
= "A 3"
-
- >> $"A $(1+2)"
- = "A 3"
- >> $$"A $(1+2)"
- = "A \$(1+2)"
- >> $="A =(1+2)"
+ >> `A @(1+2)`
= "A 3"
- >> ${one {nested} two $(1+2)}
- = "one {nested} two 3"
c := "É̩"
>> c.codepoint_names()