Debian Codegraph @

tests/snippets/console/prompt_in_output.txt

raw
1 # Test that output that looks like a prompt is not detected as such.
2
3 ---input---
4 $ cat \
5 > test.txt
6 line1
7 > file content, not prompt!
8
9 ---tokens---
10 '$ ' Generic.Prompt
11 'cat' Text
12 ' ' Text.Whitespace
13 '\\\n' Literal.String.Escape
14
15 '> ' Generic.Prompt
16 'test.txt' Text
17 '\n' Text.Whitespace
18
19 'line1\n' Generic.Output
20
21 '> file content, not prompt!\n' Generic.Output