summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNiklas Sombert <niklas@ytvwld.de>2020-10-05 20:38:23 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2020-10-05 21:09:24 +0200
commit975487f6303c59236bd779a534f292ec1c340ff2 (patch)
tree2bbaed6c69e06c0e26ce684545f49680b61ca9b3 /tests
parentc97aa551639373ba048048e35b253108eea78305 (diff)
Add syntax highlighting test file for INI (#1213)
Diffstat (limited to 'tests')
-rw-r--r--tests/syntax-tests/highlighted/INI/test.ini18
-rw-r--r--tests/syntax-tests/source/INI/test.ini18
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/INI/test.ini b/tests/syntax-tests/highlighted/INI/test.ini
new file mode 100644
index 00000000..05f8cb02
--- /dev/null
+++ b/tests/syntax-tests/highlighted/INI/test.ini
@@ -0,0 +1,18 @@
+[section]
+key=value
+numeric = 42
+quotes="this value is quoted"
+quotes2="this is not a comment ;foo"
+different_quotes='these are other characters'
+
+[another one]
+first = value
+; comment on own line
+;another one
+second=value ; comment at the end of a line
+third = value;another one
+# is this a comment? maybe.
+
+[section.with.dots]
+[section\with\backspaces]
+[section;with;semicola]
diff --git a/tests/syntax-tests/source/INI/test.ini b/tests/syntax-tests/source/INI/test.ini
new file mode 100644
index 00000000..e4e8b25c
--- /dev/null
+++ b/tests/syntax-tests/source/INI/test.ini
@@ -0,0 +1,18 @@
+[section]
+key=value
+numeric = 42
+quotes="this value is quoted"
+quotes2="this is not a comment ;foo"
+different_quotes='these are other characters'
+
+[another one]
+first = value
+; comment on own line
+;another one
+second=value ; comment at the end of a line
+third = value;another one
+# is this a comment? maybe.
+
+[section.with.dots]
+[section\with\backspaces]
+[section;with;semicola]