diff options
Diffstat (limited to 'tests/snippets')
-rw-r--r-- | tests/snippets/console/fake_ps2_prompt.txt | 4 | ||||
-rw-r--r-- | tests/snippets/console/prompt_in_output.txt | 4 | ||||
-rw-r--r-- | tests/snippets/console/ps2_prompt.txt | 2 | ||||
-rw-r--r-- | tests/snippets/console/test_newline_in_echo_no_ps2.txt | 6 | ||||
-rw-r--r-- | tests/snippets/console/test_newline_in_echo_ps2.txt | 4 | ||||
-rw-r--r-- | tests/snippets/console/test_newline_in_ls_no_ps2.txt | 6 | ||||
-rw-r--r-- | tests/snippets/console/test_newline_in_ls_ps2.txt | 4 | ||||
-rw-r--r-- | tests/snippets/console/test_virtualenv.txt | 4 | ||||
-rw-r--r-- | tests/snippets/shell/test_array_nums.txt | 6 | ||||
-rw-r--r-- | tests/snippets/shell/test_curly_no_escape_and_quotes.txt | 4 | ||||
-rw-r--r-- | tests/snippets/shell/test_curly_with_escape.txt | 4 | ||||
-rw-r--r-- | tests/snippets/shell/test_end_of_line_nums.txt | 4 | ||||
-rw-r--r-- | tests/snippets/shell/test_parsed_single.txt | 2 | ||||
-rw-r--r-- | tests/snippets/shell/test_short_variable_names.txt | 6 |
14 files changed, 30 insertions, 30 deletions
diff --git a/tests/snippets/console/fake_ps2_prompt.txt b/tests/snippets/console/fake_ps2_prompt.txt index 4921d304..683b36da 100644 --- a/tests/snippets/console/fake_ps2_prompt.txt +++ b/tests/snippets/console/fake_ps2_prompt.txt @@ -7,8 +7,8 @@ $ echo "> not a prompt" ---tokens--- '$ ' Generic.Prompt 'echo' Name.Builtin -' ' Text +' ' Text.Whitespace '"> not a prompt"' Literal.String.Double -'\n' Text +'\n' Text.Whitespace '> not a prompt\n' Generic.Output diff --git a/tests/snippets/console/prompt_in_output.txt b/tests/snippets/console/prompt_in_output.txt index 96481d19..993bc75b 100644 --- a/tests/snippets/console/prompt_in_output.txt +++ b/tests/snippets/console/prompt_in_output.txt @@ -9,12 +9,12 @@ line1 ---tokens--- '$ ' Generic.Prompt 'cat' Text -' ' Text +' ' Text.Whitespace '\\\n' Literal.String.Escape '> ' Generic.Prompt 'test.txt' Text -'\n' Text +'\n' Text.Whitespace 'line1\n' Generic.Output diff --git a/tests/snippets/console/ps2_prompt.txt b/tests/snippets/console/ps2_prompt.txt index f0aff939..175a4737 100644 --- a/tests/snippets/console/ps2_prompt.txt +++ b/tests/snippets/console/ps2_prompt.txt @@ -10,6 +10,6 @@ ls: cannot access ... '> ' Generic.Prompt '/does/not/exist' Text -'\n' Text +'\n' Text.Whitespace 'ls: cannot access ...\n' Generic.Output diff --git a/tests/snippets/console/test_newline_in_echo_no_ps2.txt b/tests/snippets/console/test_newline_in_echo_no_ps2.txt index 56a7470f..57a1190d 100644 --- a/tests/snippets/console/test_newline_in_echo_no_ps2.txt +++ b/tests/snippets/console/test_newline_in_echo_no_ps2.txt @@ -6,11 +6,11 @@ hi ---tokens--- '$ ' Generic.Prompt 'echo' Name.Builtin -' ' Text +' ' Text.Whitespace '\\\n' Literal.String.Escape -' ' Text +' ' Text.Whitespace 'hi' Text -'\n' Text +'\n' Text.Whitespace 'hi\n' Generic.Output diff --git a/tests/snippets/console/test_newline_in_echo_ps2.txt b/tests/snippets/console/test_newline_in_echo_ps2.txt index f1335f1d..b90eeadd 100644 --- a/tests/snippets/console/test_newline_in_echo_ps2.txt +++ b/tests/snippets/console/test_newline_in_echo_ps2.txt @@ -6,11 +6,11 @@ hi ---tokens--- '$ ' Generic.Prompt 'echo' Name.Builtin -' ' Text +' ' Text.Whitespace '\\\n' Literal.String.Escape '> ' Generic.Prompt 'hi' Text -'\n' Text +'\n' Text.Whitespace 'hi\n' Generic.Output diff --git a/tests/snippets/console/test_newline_in_ls_no_ps2.txt b/tests/snippets/console/test_newline_in_ls_no_ps2.txt index 5a6bda85..3366bc08 100644 --- a/tests/snippets/console/test_newline_in_ls_no_ps2.txt +++ b/tests/snippets/console/test_newline_in_ls_no_ps2.txt @@ -6,11 +6,11 @@ hi ---tokens--- '$ ' Generic.Prompt 'ls' Text -' ' Text +' ' Text.Whitespace '\\\n' Literal.String.Escape -' ' Text +' ' Text.Whitespace 'hi' Text -'\n' Text +'\n' Text.Whitespace 'hi\n' Generic.Output diff --git a/tests/snippets/console/test_newline_in_ls_ps2.txt b/tests/snippets/console/test_newline_in_ls_ps2.txt index d556a98d..bf1bae5e 100644 --- a/tests/snippets/console/test_newline_in_ls_ps2.txt +++ b/tests/snippets/console/test_newline_in_ls_ps2.txt @@ -6,11 +6,11 @@ hi ---tokens--- '$ ' Generic.Prompt 'ls' Text -' ' Text +' ' Text.Whitespace '\\\n' Literal.String.Escape '> ' Generic.Prompt 'hi' Text -'\n' Text +'\n' Text.Whitespace 'hi\n' Generic.Output diff --git a/tests/snippets/console/test_virtualenv.txt b/tests/snippets/console/test_virtualenv.txt index 2b0182f8..420b07a7 100644 --- a/tests/snippets/console/test_virtualenv.txt +++ b/tests/snippets/console/test_virtualenv.txt @@ -6,6 +6,6 @@ ' ' Text '[~/project]$ ' Generic.Prompt 'foo' Text -' ' Text +' ' Text.Whitespace '-h' Text -'\n' Text +'\n' Text.Whitespace diff --git a/tests/snippets/shell/test_array_nums.txt b/tests/snippets/shell/test_array_nums.txt index a7474a06..4e9870c2 100644 --- a/tests/snippets/shell/test_array_nums.txt +++ b/tests/snippets/shell/test_array_nums.txt @@ -6,9 +6,9 @@ a=(1 2 3) '=' Operator '(' Operator '1' Literal.Number -' ' Text +' ' Text.Whitespace '2' Literal.Number -' ' Text +' ' Text.Whitespace '3' Literal.Number ')' Operator -'\n' Text +'\n' Text.Whitespace diff --git a/tests/snippets/shell/test_curly_no_escape_and_quotes.txt b/tests/snippets/shell/test_curly_no_escape_and_quotes.txt index 607b95eb..9fbb7185 100644 --- a/tests/snippets/shell/test_curly_no_escape_and_quotes.txt +++ b/tests/snippets/shell/test_curly_no_escape_and_quotes.txt @@ -3,7 +3,7 @@ echo "${a//["b"]/}" ---tokens--- 'echo' Name.Builtin -' ' Text +' ' Text.Whitespace '"' Literal.String.Double '${' Literal.String.Interpol 'a' Name.Variable @@ -12,4 +12,4 @@ echo "${a//["b"]/}" ']/' Punctuation '}' Literal.String.Interpol '"' Literal.String.Double -'\n' Text +'\n' Text.Whitespace diff --git a/tests/snippets/shell/test_curly_with_escape.txt b/tests/snippets/shell/test_curly_with_escape.txt index b6577876..d03b23ea 100644 --- a/tests/snippets/shell/test_curly_with_escape.txt +++ b/tests/snippets/shell/test_curly_with_escape.txt @@ -3,11 +3,11 @@ echo ${a//[\"]/} ---tokens--- 'echo' Name.Builtin -' ' Text +' ' Text.Whitespace '${' Literal.String.Interpol 'a' Name.Variable '//[' Punctuation '\\"' Literal.String.Escape ']/' Punctuation '}' Literal.String.Interpol -'\n' Text +'\n' Text.Whitespace diff --git a/tests/snippets/shell/test_end_of_line_nums.txt b/tests/snippets/shell/test_end_of_line_nums.txt index 8164daef..663ea61b 100644 --- a/tests/snippets/shell/test_end_of_line_nums.txt +++ b/tests/snippets/shell/test_end_of_line_nums.txt @@ -6,10 +6,10 @@ b=2 # comment 'a' Name.Variable '=' Operator '1' Literal.Number -'\n' Text +'\n' Text.Whitespace 'b' Name.Variable '=' Operator '2' Literal.Number -' ' Text +' ' Text.Whitespace '# comment\n' Comment.Single diff --git a/tests/snippets/shell/test_parsed_single.txt b/tests/snippets/shell/test_parsed_single.txt index c11b3c76..3110c8e9 100644 --- a/tests/snippets/shell/test_parsed_single.txt +++ b/tests/snippets/shell/test_parsed_single.txt @@ -5,4 +5,4 @@ a=$'abc\'' 'a' Name.Variable '=' Operator "$'abc\\''" Literal.String.Single -'\n' Text +'\n' Text.Whitespace diff --git a/tests/snippets/shell/test_short_variable_names.txt b/tests/snippets/shell/test_short_variable_names.txt index 5adde793..86d4dc16 100644 --- a/tests/snippets/shell/test_short_variable_names.txt +++ b/tests/snippets/shell/test_short_variable_names.txt @@ -9,18 +9,18 @@ z="$abc" '"' Literal.String.Double '$' Text '"' Literal.String.Double -'\n' Text +'\n' Text.Whitespace 'y' Name.Variable '=' Operator '"' Literal.String.Double '$_' Name.Variable '"' Literal.String.Double -'\n' Text +'\n' Text.Whitespace 'z' Name.Variable '=' Operator '"' Literal.String.Double '$abc' Name.Variable '"' Literal.String.Double -'\n' Text +'\n' Text.Whitespace |