From 4fd257bb084d173fa07aa057e6d294ee525721e8 Mon Sep 17 00:00:00 2001 From: Matthew Hall Date: Sun, 2 Apr 2023 11:38:47 +1200 Subject: Refactor parser_chain argument order --- spec/practical/json_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/practical/json_spec.cr') 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}, -- cgit v1.2.1