Skip to content

Commit

Permalink
extension async value keyword should allow docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Sep 25, 2023
1 parent 285c51c commit bb99cb3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions karate-core/src/main/java/com/intuit/karate/Actions.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,7 @@ public interface Actions {
void key(String exp);

void value(String exp);

void valueDocString(String exp);

}
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,12 @@ public void key(String exp) {
@When("^value (.+)")
public void value(String exp) {
engine.value(exp);
}
}

@Override
@When("^value$")
public void valueDocString(String exp) {
engine.value(exp);
}

}

0 comments on commit bb99cb3

Please sign in to comment.