mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
fix test reference to Json encoder
This commit is contained in:
parent
7f14e9f783
commit
89f688b070
@ -10,7 +10,7 @@ toEncoder = \@HelloWorld {} ->
|
||||
|> Encode.appendWith (Encode.string "Hello, World!\n") fmt
|
||||
|
||||
f =
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.toUtf8) is
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.json) is
|
||||
Ok s -> s
|
||||
_ -> "<bad>"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user