Browse Source

[ML] Fixing doc test substitution bug (#79943)

The substitutions should not have a space after the field
name.

Fixes #79931
David Roberts 4 years ago
parent
commit
6b20e8e1b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/ml/df-analytics/apis/put-dfanalytics.asciidoc

+ 2 - 2
docs/reference/ml/df-analytics/apis/put-dfanalytics.asciidoc

@@ -657,7 +657,7 @@ PUT _ml/data_frame/analytics/loganalytics
   }
 }
 --------------------------------------------------
-// TEST[skip:"AwaitsFix https://github.com/elastic/elasticsearch/issues/79931"]
+// TEST[setup:setup_logdata]
 
 
 The API returns the following result:
@@ -692,7 +692,7 @@ The API returns the following result:
 }
 ----
 // TESTRESPONSE[s/1562265491319/$body.$_path/]
-// TESTRESPONSE[s/"version" : "8.0.0"/"version" : $body.version/]
+// TESTRESPONSE[s/"version": "8.0.0"/"version": $body.version/]
 
 
 [[ml-put-dfanalytics-example-r]]