Skip to content

Commit 5c4b902

Browse files
committed
StringOps.lines => StringOps#linesIterator, see scala/bug#11125
1 parent 534bdaa commit 5c4b902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ScalaFormatter/src/test/scala/pl/otros/logview/scala/SimpleTreePrinterTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class SimpleTreePrinterTest extends WordSpecLike with Matchers {
181181

182182
def test(tree: Tree, expected: String) = {
183183
val printed: String = new SimpleTreePrinter().printTree(tree)
184-
val expectedWithoutEmptyLines = expected.lines.filter(!_.trim.isEmpty).mkString("\n")
184+
val expectedWithoutEmptyLines = expected.linesIterator.filter(!_.trim.isEmpty).mkString("\n")
185185
printed shouldBe expectedWithoutEmptyLines
186186
}
187187

0 commit comments

Comments
 (0)