pad out test tests

This commit is contained in:
alisdair sullivan 2013-02-07 06:44:36 -08:00
parent ba42f75780
commit 6ca54ae3d7
2 changed files with 77 additions and 3 deletions

View file

@ -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 ].