瀏覽代碼

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

It runs `gradle` instead of `gradlew` and has an extra `\`.
Adrien Grand 6 年之前
父節點
當前提交
b57965c900
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/README.asciidoc

+ 1 - 1
docs/README.asciidoc

@@ -6,7 +6,7 @@ See: https://github.com/elastic/docs
 Snippets marked with `// CONSOLE` are automatically annotated with "VIEW IN
 Snippets marked with `// CONSOLE` are automatically annotated with "VIEW IN
 CONSOLE" and "COPY AS CURL" in the documentation and are automatically tested
 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,
 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
 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.
 folder, you must temporarily rename it when you are testing 6.3 or later branches.