more accurate reporting of failed tests
This commit is contained in:
parent
24a3e1c017
commit
2f26f2e3e8
1 changed files with 2 additions and 4 deletions
|
@ -954,10 +954,8 @@ decode(JSON, Config) ->
|
|||
catch
|
||||
error:badarg -> {error, badarg}
|
||||
end,
|
||||
case Chunk == Incremental of
|
||||
true -> Chunk;
|
||||
_ -> erlang:error(badarg)
|
||||
end.
|
||||
Chunk == Incremental,
|
||||
Chunk.
|
||||
|
||||
|
||||
decode_test_() ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue