mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
21
spec/tests/bash_session/prompt_in_output.txt
Normal file
21
spec/tests/bash_session/prompt_in_output.txt
Normal file
@ -0,0 +1,21 @@
|
||||
# Test that output that looks like a prompt is not detected as such.
|
||||
|
||||
---input---
|
||||
$ cat \
|
||||
> test.txt
|
||||
line1
|
||||
> file content, not prompt!
|
||||
|
||||
---tokens---
|
||||
'$ ' Generic.Prompt
|
||||
'cat' Text
|
||||
' ' Text.Whitespace
|
||||
'\\\n' Literal.String.Escape
|
||||
|
||||
'> ' Generic.Prompt
|
||||
'test.txt' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'line1\n' Generic.Output
|
||||
|
||||
'> file content, not prompt!\n' Generic.Output
|
Reference in New Issue
Block a user