From e1eca2c122252be39ddbde4510a6286b277bd9eb Mon Sep 17 00:00:00 2001 From: Blundell Date: Tue, 31 Oct 2017 12:06:46 +0000 Subject: [PATCH] remove gross commented code --- .../com/novoda/gradle/release/TestBintrayUploadTask.groovy | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy b/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy index e133d78..864d70f 100644 --- a/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy +++ b/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy @@ -14,16 +14,11 @@ public class TestBintrayUploadTask { TaskOutcome success = TaskOutcome.SUCCESS List tasks = result.tasks(success) - List successfulTaskPaths = new ArrayList<>(); for (BuildTask task : tasks) { successfulTaskPaths.add(task.path) } -// List successfulTasks = tasks.collect { -// BuildTask buildTask = it -// String path = buildTask.path -// return path -// } + assert successfulTaskPaths.contains(":bintrayUpload") assert result.getOutput().contains("BUILD SUCCESSFUL") }