pad out test tests
This commit is contained in:
parent
ba42f75780
commit
6ca54ae3d7
2 changed files with 77 additions and 3 deletions
|
@ -116,13 +116,21 @@ opts_test_() ->
|
|||
|
||||
valid_json_test_() ->
|
||||
Data = jsx:empty_array()
|
||||
++ jsx:empty_object(),
|
||||
++ jsx:empty_object()
|
||||
++ jsx:literals()
|
||||
++ jsx:naked_literals()
|
||||
++ jsx:integers()
|
||||
++ jsx:naked_integers(),
|
||||
[ {Title, ?_assertEqual(true, is_json(JSON, []))} || {Title, JSON, _, _} <- Data ].
|
||||
|
||||
|
||||
valid_term_test_() ->
|
||||
Data = jsx:empty_array()
|
||||
++ jsx:empty_object(),
|
||||
++ jsx:empty_object()
|
||||
++ jsx:literals()
|
||||
++ jsx:naked_literals()
|
||||
++ jsx:integers()
|
||||
++ jsx:naked_integers(),
|
||||
[ {Title, ?_assertEqual(true, is_term(Term, []))} || {Title, _, Term, _} <- Data ].
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue