Skip to content

Commit

Permalink
Revert "Improve test assertion"
Browse files Browse the repository at this point in the history
This reverts commit 9260880.
  • Loading branch information
Daniel Lacasse committed Jul 3, 2018
1 parent 9260880 commit 565b3af
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,13 @@ task verify {
sourceSets {
main {
groovy.outputDir = file("$buildDir/bin")
groovy.outputDir = new File(buildDir,'bin')
}
}
task assertDirectoriesAreEquals {
doLast {
assert sourceSets.main.groovy.outputDir == compileGroovy.destinationDir
assert sourceSets.main.groovy.outputDir.absolutePath == "$buildDir/bin"
}
}
'''
Expand Down

0 comments on commit 565b3af

Please sign in to comment.