Skip to content

Commit 8770871

Browse files
clarify comment
1 parent 9d09783 commit 8770871

File tree

1 file changed

+1
-1
lines changed
  • test/yaml-rest-runner/src/main/java/org/elasticsearch/test/rest/yaml/section

1 file changed

+1
-1
lines changed

test/yaml-rest-runner/src/main/java/org/elasticsearch/test/rest/yaml/section/Assertion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected final Object resolveExpectedValue(ClientYamlTestExecutionContext execu
5050
}
5151

5252
protected final Object getActualValue(ClientYamlTestExecutionContext executionContext) throws IOException {
53-
// If the "key" contains only a simple stashed value reference, such as "$body", just get that value from the stash.
53+
// If the "field" name contains only a simple stashed value reference, such as "$body", just get that value from the stash.
5454
if (executionContext.stash().isSimpleStashedValue(field)) {
5555
return executionContext.stash().getValue(field);
5656
}

0 commit comments

Comments
 (0)