fixes broken tests in format and eep
This commit is contained in:
parent
2ee96eb356
commit
b4eaf15dbe
2 changed files with 10 additions and 13 deletions
|
@ -173,8 +173,10 @@ encode(string, String) ->
|
|||
[?quote, String, ?quote];
|
||||
encode(literal, Literal) ->
|
||||
erlang:atom_to_list(Literal);
|
||||
encode(_, Number) ->
|
||||
Number.
|
||||
encode(integer, Integer) ->
|
||||
erlang:integer_to_list(Integer);
|
||||
encode(float, Float) ->
|
||||
jsx_utils:nice_decimal(Float).
|
||||
|
||||
|
||||
indent(Opts, Level) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue