mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
fix some wasm repl tests
This commit is contained in:
parent
367d4fbb71
commit
0be3632da3
1 changed files with 10 additions and 4 deletions
|
@ -597,8 +597,10 @@ fn multiline_string_wasm() {
|
|||
indoc!(
|
||||
r#""""
|
||||
|
||||
|
||||
hi!
|
||||
|
||||
|
||||
""" : Str"#
|
||||
),
|
||||
);
|
||||
|
@ -1018,7 +1020,8 @@ fn tag_with_type_behind_alias() {
|
|||
r#"
|
||||
T : [A Str]
|
||||
v : T
|
||||
v = A "value""#
|
||||
v = A "value"
|
||||
v"#
|
||||
),
|
||||
r#"A "value" : T"#,
|
||||
);
|
||||
|
@ -1098,7 +1101,8 @@ fn print_i8_issue_2710() {
|
|||
indoc!(
|
||||
r#"
|
||||
a : I8
|
||||
a = -1"#
|
||||
a = -1
|
||||
a"#
|
||||
),
|
||||
r#"-1 : I8"#,
|
||||
)
|
||||
|
@ -1167,7 +1171,8 @@ fn issue_2810_recursive_layout_inside_nonrecursive() {
|
|||
Tool : [SystemTool, FromJob Job]
|
||||
|
||||
a : Job
|
||||
a = Job (Command (FromJob (Job (Command SystemTool))))"#
|
||||
a = Job (Command (FromJob (Job (Command SystemTool))))
|
||||
a"#
|
||||
),
|
||||
"Job (Command (FromJob (Job (Command SystemTool)))) : Job",
|
||||
)
|
||||
|
@ -1181,7 +1186,8 @@ fn render_nullable_unwrapped_passing_through_alias() {
|
|||
Deep : [L DeepList]
|
||||
DeepList : [Nil, Cons Deep]
|
||||
v : DeepList
|
||||
v = (Cons (L (Cons (L (Cons (L Nil))))))"#
|
||||
v = (Cons (L (Cons (L (Cons (L Nil))))))
|
||||
v"#
|
||||
),
|
||||
"Cons (L (Cons (L (Cons (L Nil))))) : DeepList",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue