Skip to content

Commit 75edafd

Browse files
committed
fix test (recent versions of git require a message)
1 parent cc27b56 commit 75edafd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/scala/io/viash/helpers/GitTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class GitTest extends AnyFunSuite with BeforeAndAfterAll {
191191
val gitTagOut1 = Exec.runCatch(List("git", "tag", "-a", "0.1.1", "-m", "first tag"), cwd = Some(tempDir))
192192
assert(gitTagOut1.exitValue == 0, s"git tag: ${gitTagOut1.output}")
193193

194-
val gitTagOut2 = Exec.runCatch(List("git", "tag", "0.1.2"), cwd = Some(tempDir))
194+
val gitTagOut2 = Exec.runCatch(List("git", "tag", "0.1.2", "-m", "second tag"), cwd = Some(tempDir))
195195
assert(gitTagOut2.exitValue == 0, s"git tag: ${gitTagOut2.output}")
196196

197197
val tag1 = Git.hasTag("0.1.1", tempDir)

0 commit comments

Comments
 (0)