slightly generalize decoder for tests
This commit is contained in:
parent
230be8ebc2
commit
6c51597f65
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ special_number_test_() ->
|
|||
|
||||
decode(JSON, Config) ->
|
||||
try
|
||||
(decoder(jsx, [], Config))(JSON)
|
||||
start(JSON, {jsx, []}, [], jsx_utils:parse_config(Config))
|
||||
catch
|
||||
error:badarg -> {error, badarg}
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue