diff --git a/tests/languages/ini/comment_feature.test b/tests/languages/ini/comment_feature.test new file mode 100644 index 0000000000..85faefe78b --- /dev/null +++ b/tests/languages/ini/comment_feature.test @@ -0,0 +1,13 @@ +; +; foobar + +---------------------------------------------------- + +[ + ["comment", ";"], + ["comment", "; foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/tests/languages/ini/important_feature.test b/tests/languages/ini/important_feature.test new file mode 100644 index 0000000000..b30ffc3e39 --- /dev/null +++ b/tests/languages/ini/important_feature.test @@ -0,0 +1,13 @@ +[owner] +[foobar] + +---------------------------------------------------- + +[ + ["important", "[owner]"], + ["important", "[foobar]"] +] + +---------------------------------------------------- + +Checks for section titles. \ No newline at end of file diff --git a/tests/languages/ini/key_value_feature.test b/tests/languages/ini/key_value_feature.test new file mode 100644 index 0000000000..5d25d9d3cf --- /dev/null +++ b/tests/languages/ini/key_value_feature.test @@ -0,0 +1,21 @@ +foo=Bar Baz +foobar=42 + +---------------------------------------------------- + +[ + ["constant", "foo"], + ["attr-value", [ + ["punctuation", "="], + "Bar Baz" + ]], + ["constant", "foobar"], + ["attr-value", [ + ["punctuation", "="], + "42" + ]] +] + +---------------------------------------------------- + +Checks for key/value pairs. \ No newline at end of file