update uitest failure

This commit is contained in:
Luke Boswell 2023-06-08 19:34:52 +10:00
parent 7328ecc3e7
commit 4bb0f4c2d0
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0

View file

@ -1,5 +1,5 @@
app "test"
imports [Json]
imports [TotallyNotJson]
provides [main] to "./platform"
HelloWorld := {} has [Encoding {toEncoder}]
@ -10,7 +10,7 @@ toEncoder = \@HelloWorld {} ->
|> Encode.appendWith (Encode.string "Hello, World!\n") fmt
f =
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.json) is
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) TotallyNotJson.json) is
Ok s -> s
_ -> "<bad>"