Skip to content

Commit 505d323

Browse files
committed
fmt
1 parent e8d1460 commit 505d323

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/core/src/test/scala/org/scalasteward/core/git/FileGitAlgTest.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,8 @@ class FileGitAlgTest extends CatsEffectSuite {
108108
c1 <- ioGitAlg.containsChanges(repo)
109109
_ <- ioFileAlg.writeFile(repo / "test.txt", "hello world")
110110
c2 <- ioGitAlg.containsChanges(repo)
111-
_ <- ioGitAlg.commitAllIfDirty(
112-
repo,
113-
CommitMsg("Modify test.txt", coAuthoredBy = List(Author("name", "email")))
114-
)
111+
m2 = CommitMsg("Modify test.txt", coAuthoredBy = List(Author("name", "email")))
112+
_ <- ioGitAlg.commitAllIfDirty(repo, m2)
115113
c3 <- ioGitAlg.containsChanges(repo)
116114
_ = assertEquals((c1, c2, c3), (false, true, false))
117115
} yield ()

0 commit comments

Comments
 (0)