new test for new encoder/formatter
This commit is contained in:
parent
04dfde559e
commit
2cdb755d08
1 changed files with 12 additions and 1 deletions
|
@ -259,4 +259,15 @@ opts_test_() ->
|
|||
}
|
||||
].
|
||||
|
||||
terms_test_() ->
|
||||
[
|
||||
{"terms",
|
||||
?_assert(format([start_object,
|
||||
{key, "key"},
|
||||
{string, "value"},
|
||||
end_object
|
||||
], []) =:= <<"{\"key\":\"value\"}">>
|
||||
)}
|
||||
].
|
||||
|
||||
-endif.
|
Loading…
Add table
Add a link
Reference in a new issue