mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +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]
|
||||
// fn applied_tag_just_unit() {
|
||||
// assert_evals_to!(
|
||||
// indoc!(
|
||||
// r#"
|
||||
// Fruit : [ Orange, Apple, Banana ]
|
||||
// Maybe a : [ Just a, Nothing ]
|
||||
//
|
||||
// orange : Fruit
|
||||
// orange = Orange
|
||||
//
|
||||
// y : Maybe Fruit
|
||||
// y = Just orange
|
||||
//
|
||||
// 0x1
|
||||
// "#
|
||||
// ),
|
||||
// 1,
|
||||
// i64
|
||||
// );
|
||||
// }
|
||||
#[test]
|
||||
fn applied_tag_just_unit() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
Fruit : [ Orange, Apple, Banana ]
|
||||
Maybe a : [ Just a, Nothing ]
|
||||
|
||||
orange : Fruit
|
||||
orange = Orange
|
||||
|
||||
y : Maybe Fruit
|
||||
y = Just orange
|
||||
|
||||
0x1
|
||||
"#
|
||||
),
|
||||
1,
|
||||
i64
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn when_on_nothing() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue