From 17697ccd42061213486e1ed48fcc5b6e291f967c Mon Sep 17 00:00:00 2001 From: Marcin Stachniuk Date: Wed, 13 Mar 2019 23:59:17 +0100 Subject: [PATCH] Fix tests --- .../gradle/git/tasks/GitCommitImplTest.groovy | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/git/tasks/GitCommitImplTest.groovy b/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/git/tasks/GitCommitImplTest.groovy index 5e3d4f47..5f6fe12b 100644 --- a/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/git/tasks/GitCommitImplTest.groovy +++ b/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/git/tasks/GitCommitImplTest.groovy @@ -19,23 +19,7 @@ class GitCommitImplTest extends Specification { def f2 = new File("f2") expect: - getAddCommand([f1, f2], []) == ["git", "add", f1.absolutePath, f2.absolutePath] - } - - def "git add command for directories"() { - def d1 = new File("d1") - def d2 = new File("d2") - - expect: - getAddCommand([], [d1, d2]) == ["git", "add", d1.absolutePath, d2.absolutePath] - } - - def "git add command for files and directories"() { - def f1 = new File("f1") - def d1 = new File("d1") - - expect: - getAddCommand([f1], [d1]) == ["git", "add", f1.absolutePath, d1.absolutePath] + getAddCommand([f1, f2]) == ["git", "add", f1.absolutePath, f2.absolutePath] } def "git commit command"() {