We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9658d41 commit d00a4abCopy full SHA for d00a4ab
plugin-gradle/src/test/java/com/diffplug/gradle/spotless/ErrorShouldRethrowTest.java
@@ -43,7 +43,7 @@ private void writeBuild(String... toInsert) throws IOException {
43
lines.add(" target file('README.md')");
44
lines.add(" custom 'no swearing', {");
45
lines.add(" if (it.toLowerCase(Locale.ROOT).contains('fubar')) {");
46
- lines.add(" throw com.diffplug.spotless.Lint.atUndefinedLine('swearing', 'No swearing!');");
+ lines.add(" throw com.diffplug.spotless.Lint.atUndefinedLine('swearing', 'No swearing!').shortcut();");
47
lines.add(" }");
48
49
lines.addAll(Arrays.asList(toInsert));
0 commit comments