Skip to content

Commit 748560f

Browse files
committed
Minimised test case (only keep essential line)
1 parent 7d831a7 commit 748560f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

modules/core/src/test/scala/org/scalasteward/core/edit/EditAlgTest.scala

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,11 @@ class EditAlgTest extends FunSuite {
259259
)
260260
val original = Map(
261261
".mill-version" -> """0.9.5""",
262-
".travis.yml" ->
263-
"""
264-
|env
265-
| - TEST_MILL_VERSION=0.9.4
266-
| - TEST_MILL_VERSION=0.9.5
267-
|""".stripMargin
262+
".travis.yml" -> """- TEST_MILL_VERSION=0.9.5"""
268263
)
269264
val expected = Map(
270265
".mill-version" -> """0.9.9""",
271-
".travis.yml" ->
272-
"""
273-
|env
274-
| - TEST_MILL_VERSION=0.9.4
275-
| - TEST_MILL_VERSION=0.9.5
276-
|""".stripMargin
266+
".travis.yml" -> """- TEST_MILL_VERSION=0.9.5"""
277267
)
278268
assertEquals(runApplyUpdate(Repo("edit-alg", "test-10"), update, original), expected)
279269
}

0 commit comments

Comments
 (0)