Chef: Heuristic for verb past tense conversion
Add a heuristic method for converting verb to past tense by appending d/ed to end of the present tense form.
This commit is contained in:
@@ -355,14 +355,14 @@ describe("Parsing method instructions", () => {
|
||||
});
|
||||
|
||||
test("`Verb` [the `ingredient`] until `verbed`", () => {
|
||||
testMethodOp("Destroy until bake", {
|
||||
testMethodOp("Destroy until baked", {
|
||||
code: "LOOP-CLOSE",
|
||||
verb: "bake",
|
||||
verb: "baked",
|
||||
opener: JumpAddressPlaceholder,
|
||||
});
|
||||
testMethodOp("Destroy the tomato ketchup until bake", {
|
||||
testMethodOp("Destroy the tomato ketchup until baked", {
|
||||
code: "LOOP-CLOSE",
|
||||
verb: "bake",
|
||||
verb: "baked",
|
||||
ing: "tomato ketchup",
|
||||
opener: JumpAddressPlaceholder,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user