Skip to content

Commit 66c9265

Browse files
committed
Add failing test case (because of scalacenter/scalafix#478)
1 parent 3edd875 commit 66c9265

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

input/src/main/scala/fix/Collectionstrawman_v0.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ object Collectionstrawman_v0_ArrayBuffer {
4343
object Collectionstrawman_v0_ArrayAndString {
4444
def foo(xs: Array[Int], ys: String): Unit = {
4545
xs.map(x => x + 1)
46-
ys.map(c => c.toUpper)
46+
ys.map(c => c.toUpper).map(_.toLower)
4747
}
4848
}
4949

output/src/main/scala/fix/Collectionstrawman_v0.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ object Collectionstrawman_v0_ArrayBuffer {
4343
object Collectionstrawman_v0_ArrayAndString {
4444
def foo(xs: Array[Int], ys: String): Unit = {
4545
xs.map(x => x + 1)
46-
ys.map(c => c.toUpper)
46+
ys.map(c => c.toUpper).map(_.toLower)
4747
}
4848
}
4949

0 commit comments

Comments
 (0)