Fix command line to run doc tests in docs/README. (#40959)

It runs `gradle` instead of `gradlew` and has an extra `\`.
This commit is contained in:
Adrien Grand 2019-04-10 11:15:45 +02:00
parent 683cf56982
commit ecbb588a14
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ See: https://github.com/elastic/docs
Snippets marked with `// CONSOLE` are automatically annotated with "VIEW IN
CONSOLE" and "COPY AS CURL" in the documentation and are automatically tested
by the command `gradle :docs:check`. To test just the docs from a single page,
use e.g. `gradle :docs:check -Dtests.method="\*rollover*"`.
use e.g. `./gradlew :docs:integTestRunner --tests "*rollover*"`.
NOTE: If you have an elasticsearch-extra folder alongside your elasticsearch
folder, you must temporarily rename it when you are testing 6.3 or later branches.