Fix some typos in error messages in the build

This commit is contained in:
Nik Everett 2017-01-10 16:11:05 -05:00
parent ddb93946aa
commit 4df2e182bf
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ public class RestTestPlugin implements Plugin<Project> {
if (false == REQUIRED_PLUGINS.any {project.pluginManager.hasPlugin(it)}) { if (false == REQUIRED_PLUGINS.any {project.pluginManager.hasPlugin(it)}) {
throw new InvalidUserDataException('elasticsearch.rest-test ' throw new InvalidUserDataException('elasticsearch.rest-test '
+ 'requires either elasticsearch.build or ' + 'requires either elasticsearch.build or '
+ 'elasticsearch.standalone-test') + 'elasticsearch.standalone-rest-test')
} }
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class) RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)

View File

@ -40,9 +40,9 @@ public class StandaloneRestTestPlugin implements Plugin<Project> {
@Override @Override
public void apply(Project project) { public void apply(Project project) {
if (project.pluginManager.hasPlugin('elasticsearch.build')) { if (project.pluginManager.hasPlugin('elasticsearch.build')) {
throw new InvalidUserDataException('elasticsearch.standalone-test, ' throw new InvalidUserDataException('elasticsearch.standalone-test '
+ 'elasticsearch.standalone-test, and elasticsearch.build are ' + 'elasticsearch.standalone-rest-test, and elasticsearch.build '
+ 'mutually exclusive') + 'are mutually exclusive')
} }
project.pluginManager.apply(JavaBasePlugin) project.pluginManager.apply(JavaBasePlugin)
project.pluginManager.apply(RandomizedTestingPlugin) project.pluginManager.apply(RandomizedTestingPlugin)