diff options
Diffstat (limited to 'tests/snippets/ini')
-rw-r--r-- | tests/snippets/ini/test_indented_entries_1.txt | 16 | ||||
-rw-r--r-- | tests/snippets/ini/test_indented_entries_2.txt | 20 | ||||
-rw-r--r-- | tests/snippets/ini/test_indented_entries_3.txt | 20 |
3 files changed, 56 insertions, 0 deletions
diff --git a/tests/snippets/ini/test_indented_entries_1.txt b/tests/snippets/ini/test_indented_entries_1.txt new file mode 100644 index 0000000..a878176 --- /dev/null +++ b/tests/snippets/ini/test_indented_entries_1.txt @@ -0,0 +1,16 @@ +---input--- +[section] + key1=value1 + key2=value2 + +---tokens--- +'[section]' Keyword +'\n ' Text.Whitespace +'key1' Name.Attribute +'=' Operator +'value1' Literal.String +'\n ' Text.Whitespace +'key2' Name.Attribute +'=' Operator +'value2' Literal.String +'\n' Text.Whitespace diff --git a/tests/snippets/ini/test_indented_entries_2.txt b/tests/snippets/ini/test_indented_entries_2.txt new file mode 100644 index 0000000..bd7c882 --- /dev/null +++ b/tests/snippets/ini/test_indented_entries_2.txt @@ -0,0 +1,20 @@ +---input--- +[section] + key1 = value1 + key2 = value2 + +---tokens--- +'[section]' Keyword +'\n ' Text.Whitespace +'key1' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'value1' Literal.String +'\n ' Text.Whitespace +'key2' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'value2' Literal.String +'\n' Text.Whitespace diff --git a/tests/snippets/ini/test_indented_entries_3.txt b/tests/snippets/ini/test_indented_entries_3.txt new file mode 100644 index 0000000..4a228af --- /dev/null +++ b/tests/snippets/ini/test_indented_entries_3.txt @@ -0,0 +1,20 @@ +---input--- +[section] + key 1 = value1 + key 2 = value2 + +---tokens--- +'[section]' Keyword +'\n ' Text.Whitespace +'key 1' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'value1' Literal.String +'\n ' Text.Whitespace +'key 2' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'value2' Literal.String +'\n' Text.Whitespace |