fixed tests, which i broke somehow
This commit is contained in:
parent
86333b8e7f
commit
7e6b71cdf4
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ test_body(TestSpec, Dir) ->
|
|||
|
||||
incremental_decode(F, <<>>) ->
|
||||
{Result, Rest} = F(<<>>),
|
||||
true = tail_clean(Rest),
|
||||
true = jsx:tail_clean(Rest),
|
||||
Result;
|
||||
incremental_decode(F, <<A/utf8, Rest/binary>>) ->
|
||||
case F(<<A/utf8>>) of
|
||||
|
@ -78,7 +78,7 @@ decode(F, JSON) ->
|
|||
{Result, <<>>} = G(<<>>),
|
||||
Result
|
||||
; {Result, Rest} ->
|
||||
true = tail_clean(Rest),
|
||||
true = jsx:tail_clean(Rest),
|
||||
Result
|
||||
end.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue