Skip to content

Commit 1a26e9f

Browse files
committed
Stop unnecessary output checking in to-fail test
1 parent 3cb6bb0 commit 1a26e9f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/groovy/com/github/gradle/node/task/NodeTask_integTest.groovy

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,6 @@ class NodeTask_integTest extends AbstractIntegTest {
8181
8282
then:
8383
result8.task(":executeDirectoryScript").outcome == TaskOutcome.FAILED
84-
if (gv < GradleVersion.version("7.0")) {
85-
assert result8.output.contains("specified for property 'script' is not a file")
86-
} else if (gv < GradleVersion.version("8.0-milestone-1")) {
87-
assert result8.output.contains("Reason: Expected an input to be a file but it was a directory.")
88-
} else {
89-
assert result8.output.contains("Accessing unreadable inputs or outputs is not supported.")
90-
}
9184
9285
when:
9386
def result9 = build(":version")

0 commit comments

Comments
 (0)