mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Merge branch 'main' into i5169
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
This commit is contained in:
commit
6d8ddcc583
6 changed files with 169 additions and 19 deletions
|
@ -1280,3 +1280,15 @@ fn str_to_dec() {
|
|||
r#"Ok 1234.1234 : Result Dec [InvalidNumStr]"#,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn tuple() {
|
||||
expect_success(
|
||||
indoc!(
|
||||
r#"
|
||||
("a", 2u32)
|
||||
"#
|
||||
),
|
||||
r#"("a", 2) : ( Str, U32 )*"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue