mirror of
https://github.com/lightbend/config.git
synced 2025-03-19 13:50:40 +08:00
Merge pull request #284 from jmccure/fix-hash-comment-test
Amend duplicated whitespace comment test
This commit is contained in:
commit
24c6b097cb
@ -283,11 +283,11 @@ class TokenizerTest extends TestUtils {
|
||||
tokenLine(2), tokenCommentDoubleSlash("comment3 "),
|
||||
tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")),
|
||||
" //comment\r\n //comment2 \n//comment3 \n\n//comment4")
|
||||
tokenizerTest(List(tokenWhitespace(" "), tokenCommentDoubleSlash("comment\r"),
|
||||
tokenLine(1), tokenWhitespace(" "), tokenCommentDoubleSlash("comment2 "),
|
||||
tokenLine(2), tokenCommentDoubleSlash("comment3 "),
|
||||
tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")),
|
||||
" //comment\r\n //comment2 \n//comment3 \n\n//comment4")
|
||||
tokenizerTest(List(tokenWhitespace(" "), tokenCommentHash("comment\r"),
|
||||
tokenLine(1), tokenWhitespace(" "), tokenCommentHash("comment2 "),
|
||||
tokenLine(2), tokenCommentHash("comment3 "),
|
||||
tokenLine(3), tokenLine(4), tokenCommentHash("comment4")),
|
||||
" #comment\r\n #comment2 \n#comment3 \n\n#comment4")
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user