aboutsummaryrefslogtreecommitdiff
path: root/spec/practical
diff options
context:
space:
mode:
Diffstat (limited to 'spec/practical')
-rw-r--r--spec/practical/json_spec.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/practical/json_spec.cr b/spec/practical/json_spec.cr
index 9d47b93..a0ce2db 100644
--- a/spec/practical/json_spec.cr
+++ b/spec/practical/json_spec.cr
@@ -42,7 +42,7 @@ describe "example: JSON parsing", tags: "example" do
sign = Parser.token('-').map_const(-1).recover(1)
point = Parser.token('.').optional
- json_number = parser_chain "json_number", Char, JSONValue,
+ json_number = parser_chain Char, JSONValue, "json_number",
{s, sign},
{front, digits},
{p, point},