mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
uncomment test
This commit is contained in:
parent
20dc928bfe
commit
0593a39e0f
1 changed files with 21 additions and 22 deletions
|
@ -1216,28 +1216,27 @@ mod test_gen {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
#[test]
|
||||||
// #[test]
|
fn applied_tag_just_unit() {
|
||||||
// fn applied_tag_just_unit() {
|
assert_evals_to!(
|
||||||
// assert_evals_to!(
|
indoc!(
|
||||||
// indoc!(
|
r#"
|
||||||
// r#"
|
Fruit : [ Orange, Apple, Banana ]
|
||||||
// Fruit : [ Orange, Apple, Banana ]
|
Maybe a : [ Just a, Nothing ]
|
||||||
// Maybe a : [ Just a, Nothing ]
|
|
||||||
//
|
orange : Fruit
|
||||||
// orange : Fruit
|
orange = Orange
|
||||||
// orange = Orange
|
|
||||||
//
|
y : Maybe Fruit
|
||||||
// y : Maybe Fruit
|
y = Just orange
|
||||||
// y = Just orange
|
|
||||||
//
|
0x1
|
||||||
// 0x1
|
"#
|
||||||
// "#
|
),
|
||||||
// ),
|
1,
|
||||||
// 1,
|
i64
|
||||||
// i64
|
);
|
||||||
// );
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn when_on_nothing() {
|
fn when_on_nothing() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue