mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
parent
cdf8677dfb
commit
759a9976b6
2 changed files with 15 additions and 0 deletions
|
@ -1292,3 +1292,15 @@ fn tuple() {
|
|||
r#"("a", 2) : ( Str, U32 )*"#,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn nested_tuple() {
|
||||
expect_success(
|
||||
indoc!(
|
||||
r#"
|
||||
("a", (2u32, 3u32))
|
||||
"#
|
||||
),
|
||||
r#"("a", (2, 3)) : ( Str, ( U32, U32 )a )a"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue