Skip to content

Commit 92ff1c6

Browse files
committed
Error messages are slightly different now.
1 parent 0363e9c commit 92ff1c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/BiomeIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void failureWhenExeNotFound() throws Exception {
310310
var spotlessApply = gradleRunner().withArguments("--stacktrace", "spotlessApply").buildAndFail();
311311
assertThat(spotlessApply.getOutput()).contains("Build failed with an exception");
312312
assertFile("biome_test.js").sameAsResource("biome/js/fileBefore.js");
313-
assertThat(spotlessApply.getOutput()).contains("Could not create task ':spotlessMybiomeApply'");
313+
assertThat(spotlessApply.getOutput()).contains("Execution failed for task ':spotlessMybiome'");
314314
assertThat(spotlessApply.getOutput()).contains("Biome executable does not exist");
315315
}
316316

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/RomeIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 DiffPlug
2+
* Copyright 2023-2024 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -310,7 +310,7 @@ void failureWhenExeNotFound() throws Exception {
310310
var spotlessApply = gradleRunner().withArguments("--stacktrace", "spotlessApply").buildAndFail();
311311
assertThat(spotlessApply.getOutput()).contains("Build failed with an exception");
312312
assertFile("rome_test.js").sameAsResource("rome/js/fileBefore.js");
313-
assertThat(spotlessApply.getOutput()).contains("Could not create task ':spotlessMyromeApply'");
313+
assertThat(spotlessApply.getOutput()).contains("Execution failed for task ':spotlessMyrome'");
314314
assertThat(spotlessApply.getOutput()).contains("Biome executable does not exist");
315315
}
316316

0 commit comments

Comments
 (0)