simplify exportation of tests, add strings to test suite
This commit is contained in:
parent
eaf19cde9c
commit
2f47fdd642
8 changed files with 79 additions and 90 deletions
|
@ -137,16 +137,7 @@ clean_string(Bin, Opts) -> jsx_utils:clean_string(Bin, Opts).
|
|||
|
||||
|
||||
encode_test_() ->
|
||||
Data = jsx:empty_array()
|
||||
++ jsx:deep_array()
|
||||
++ jsx:really_deep_array()
|
||||
++ jsx:empty_object()
|
||||
++ jsx:literals()
|
||||
++ jsx:naked_literals()
|
||||
++ jsx:integers()
|
||||
++ jsx:naked_integers()
|
||||
++ jsx:floats()
|
||||
++ jsx:naked_floats(),
|
||||
Data = jsx:universals(),
|
||||
[
|
||||
{
|
||||
Title, ?_assertEqual(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue