mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
update uitest failure
This commit is contained in:
parent
7328ecc3e7
commit
4bb0f4c2d0
1 changed files with 2 additions and 2 deletions
|
@ -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>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue