fix test reference to Json encoder

This commit is contained in:
Luke Boswell 2023-05-15 21:38:18 +10:00
parent 7f14e9f783
commit 89f688b070
No known key found for this signature in database
GPG Key ID: F6DB3C9DB47377B0

View File

@ -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>"