Skip to content

Commit

Permalink
Remove Predef#augmentString call since linesIterator is now used.
Browse files Browse the repository at this point in the history
  • Loading branch information
seoethereal committed Dec 17, 2021
1 parent 47f8f7f commit 645fc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalatags/test/src/scalatags/generic/StyleSheetTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ abstract class StyleSheetTests[Builder, Output <: FragT, FragT]

def check(txt: String, expected: String) = {
// augmentString = work around scala/bug#11125 on JDK 11
def normalize(s: String) = Predef.augmentString(s).linesIterator.map(_.trim).mkString
def normalize(s: String) = s.linesIterator.map(_.trim).mkString

assert(normalize(txt) == normalize(expected))
}
Expand Down

0 comments on commit 645fc12

Please sign in to comment.