summaryrefslogtreecommitdiffstats
path: root/tests/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg')
-rw-r--r--tests/pkg/magicchar.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkg/magicchar.tcl b/tests/pkg/magicchar.tcl
new file mode 100644
index 0000000..dc68fcd
--- /dev/null
+++ b/tests/pkg/magicchar.tcl
@@ -0,0 +1,6 @@
+set dollar1 "this string contains an unescaped dollar sign -> \\$foo"
+set dollar2 "this string contains an escaped dollar sign -> \$foo \\\$foo"
+set bracket1 "this contains an unescaped bracket [NoSuchProc]"
+set bracket2 "this contains an escaped bracket \[NoSuchProc\]"
+set bracket3 "this contains nested unescaped brackets [[NoSuchProc]]"
+proc testProc {} {}