summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/option.file117
-rw-r--r--tests/option.file22
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/option.file1 b/tests/option.file1
new file mode 100644
index 0000000..e64b6cc
--- /dev/null
+++ b/tests/option.file1
@@ -0,0 +1,17 @@
+! This file is a sample option (resource) database used to test
+! Tk's option-handling capabilities.
+
+! Comment line \
+ with a backslash-newline sequence embedded in it.
+
+*x1: blue
+ tktest.x2 : green
+*\
+x3 \
+ : pur\
+ple
+*x 4: brown
+# More comments, this time delimited by hash-marks.
+ # Comment-line with space.
+*x6:
+# comment line as last line of file.
diff --git a/tests/option.file2 b/tests/option.file2
new file mode 100644
index 0000000..f1d020a
--- /dev/null
+++ b/tests/option.file2
@@ -0,0 +1,2 @@
+*foo1: magenta
+foo2 missing colon