mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-17 20:58:08 +02:00
Add failing test case for single # in bash
This commit is contained in:
parent
809ff9ba45
commit
8c4fe7e59f
5
lexers/testdata/bash.actual
vendored
5
lexers/testdata/bash.actual
vendored
@ -43,4 +43,7 @@ tiger_em () {
|
||||
get_em $directory "ftp://ftp2.census.gov/geo/tiger/TIGER2010/"$1
|
||||
shift
|
||||
done
|
||||
}
|
||||
}
|
||||
|
||||
# bare comment marker
|
||||
#
|
||||
|
7
lexers/testdata/bash.expected
vendored
7
lexers/testdata/bash.expected
vendored
@ -130,5 +130,10 @@
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"done"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Operator","value":"}"}
|
||||
{"type":"Operator","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"CommentSingle","value":"# bare comment marker"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"CommentSingle","value":"#"},
|
||||
{"type":"Text","value":"\n"}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user