mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
22 lines
420 B
Plaintext
22 lines
420 B
Plaintext
# 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
|