mirror of
https://github.com/lightbend/config.git
synced 2025-03-21 06:40:25 +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(2), tokenCommentDoubleSlash("comment3 "),
|
||||||
tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")),
|
tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")),
|
||||||
" //comment\r\n //comment2 \n//comment3 \n\n//comment4")
|
" //comment\r\n //comment2 \n//comment3 \n\n//comment4")
|
||||||
tokenizerTest(List(tokenWhitespace(" "), tokenCommentDoubleSlash("comment\r"),
|
tokenizerTest(List(tokenWhitespace(" "), tokenCommentHash("comment\r"),
|
||||||
tokenLine(1), tokenWhitespace(" "), tokenCommentDoubleSlash("comment2 "),
|
tokenLine(1), tokenWhitespace(" "), tokenCommentHash("comment2 "),
|
||||||
tokenLine(2), tokenCommentDoubleSlash("comment3 "),
|
tokenLine(2), tokenCommentHash("comment3 "),
|
||||||
tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")),
|
tokenLine(3), tokenLine(4), tokenCommentHash("comment4")),
|
||||||
" //comment\r\n //comment2 \n//comment3 \n\n//comment4")
|
" #comment\r\n #comment2 \n#comment3 \n\n#comment4")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user