aboutsummaryrefslogtreecommitdiff
path: root/spec/parcom_spec.cr
diff options
context:
space:
mode:
Diffstat (limited to 'spec/parcom_spec.cr')
-rw-r--r--spec/parcom_spec.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/parcom_spec.cr b/spec/parcom_spec.cr
index 2f3f6ba..00c59a0 100644
--- a/spec/parcom_spec.cr
+++ b/spec/parcom_spec.cr
@@ -337,7 +337,7 @@ describe Phrase do
end
describe Recover do
- p = Recover.new(Token.new('t'), '@')
+ p = Token.new('t').recover('@')
describe "#parse" do
it "succeeds and returns the wrapped parser's value if it succeeds" do