Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
remove gross commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Blundell committed Oct 31, 2017
1 parent 7d76c39 commit e1eca2c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@ public class TestBintrayUploadTask {

TaskOutcome success = TaskOutcome.SUCCESS
List<BuildTask> tasks = result.tasks(success)

List<String> successfulTaskPaths = new ArrayList<>();
for (BuildTask task : tasks) {
successfulTaskPaths.add(task.path)
}
// List<BuildTask> successfulTasks = tasks.collect {
// BuildTask buildTask = it
// String path = buildTask.path
// return path
// }

assert successfulTaskPaths.contains(":bintrayUpload")
assert result.getOutput().contains("BUILD SUCCESSFUL")
}
Expand Down

0 comments on commit e1eca2c

Please sign in to comment.