From 4df2e182bfda28ddb0101787188318a405921fce Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Tue, 10 Jan 2017 16:11:05 -0500 Subject: [PATCH] Fix some typos in error messages in the build --- .../org/elasticsearch/gradle/test/RestTestPlugin.groovy | 2 +- .../gradle/test/StandaloneRestTestPlugin.groovy | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestTestPlugin.groovy index 176b02cf9b0..47a559efccb 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestTestPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestTestPlugin.groovy @@ -39,7 +39,7 @@ public class RestTestPlugin implements Plugin { if (false == REQUIRED_PLUGINS.any {project.pluginManager.hasPlugin(it)}) { throw new InvalidUserDataException('elasticsearch.rest-test ' + 'requires either elasticsearch.build or ' - + 'elasticsearch.standalone-test') + + 'elasticsearch.standalone-rest-test') } RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneRestTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneRestTestPlugin.groovy index 6e017671017..c48dc890ab0 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneRestTestPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneRestTestPlugin.groovy @@ -40,9 +40,9 @@ public class StandaloneRestTestPlugin implements Plugin { @Override public void apply(Project project) { if (project.pluginManager.hasPlugin('elasticsearch.build')) { - throw new InvalidUserDataException('elasticsearch.standalone-test, ' - + 'elasticsearch.standalone-test, and elasticsearch.build are ' - + 'mutually exclusive') + throw new InvalidUserDataException('elasticsearch.standalone-test ' + + 'elasticsearch.standalone-rest-test, and elasticsearch.build ' + + 'are mutually exclusive') } project.pluginManager.apply(JavaBasePlugin) project.pluginManager.apply(RandomizedTestingPlugin)