diff --git a/lexers/testdata/bash.actual b/lexers/testdata/bash.actual index fe54c5f..a094d87 100644 --- a/lexers/testdata/bash.actual +++ b/lexers/testdata/bash.actual @@ -43,4 +43,7 @@ tiger_em () { get_em $directory "ftp://ftp2.census.gov/geo/tiger/TIGER2010/"$1 shift done -} \ No newline at end of file +} + +# bare comment marker +# diff --git a/lexers/testdata/bash.expected b/lexers/testdata/bash.expected index 75b068f..0137bc0 100644 --- a/lexers/testdata/bash.expected +++ b/lexers/testdata/bash.expected @@ -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"} ]