We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534bdaa commit 5c4b902Copy full SHA for 5c4b902
ScalaFormatter/src/test/scala/pl/otros/logview/scala/SimpleTreePrinterTest.scala
@@ -181,7 +181,7 @@ class SimpleTreePrinterTest extends WordSpecLike with Matchers {
181
182
def test(tree: Tree, expected: String) = {
183
val printed: String = new SimpleTreePrinter().printTree(tree)
184
- val expectedWithoutEmptyLines = expected.lines.filter(!_.trim.isEmpty).mkString("\n")
+ val expectedWithoutEmptyLines = expected.linesIterator.filter(!_.trim.isEmpty).mkString("\n")
185
printed shouldBe expectedWithoutEmptyLines
186
}
187
0 commit comments