From e3f478cabcef96fa1ef9c7cbcd0291ef767b3bfb Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 4 Mar 2015 21:12:38 -0500 Subject: [PATCH] Scalariform TokenizerTest.scala --- .../typesafe/config/impl/TokenizerTest.scala | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala b/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala index a6312a36..931deb15 100644 --- a/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala +++ b/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala @@ -172,7 +172,7 @@ class TokenizerTest extends TestUtils { for (t <- tests) { describeFailure(t.toString) { val expected = List(tokenWhitespace(" "), Tokens.newValue(t.result, t.toString), - tokenWhitespace(" ")) + tokenWhitespace(" ")) tokenizerTest(expected, t.escaped) } } @@ -275,19 +275,19 @@ class TokenizerTest extends TestUtils { tokenizerTest(List(tokenInt(10), tokenCommentHash("comment"), tokenLine(1), tokenInt(12)), "10#comment\n12") // be sure we handle multi-line comments tokenizerTest(List(tokenCommentDoubleSlash("comment"), tokenLine(1), tokenCommentDoubleSlash("comment2")), - "//comment\n//comment2") + "//comment\n//comment2") tokenizerTest(List(tokenCommentHash("comment"), tokenLine(1), tokenCommentHash("comment2")), - "#comment\n#comment2") + "#comment\n#comment2") 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") + 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(" "), 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") + tokenLine(1), tokenWhitespace(" "), tokenCommentDoubleSlash("comment2 "), + tokenLine(2), tokenCommentDoubleSlash("comment3 "), + tokenLine(3), tokenLine(4), tokenCommentDoubleSlash("comment4")), + " //comment\r\n //comment2 \n//comment3 \n\n//comment4") } @Test