mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Add some more required annotations
This commit is contained in:
parent
b969107751
commit
25af314898
1 changed files with 4 additions and 2 deletions
|
@ -196,6 +196,8 @@ fn contains() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn from_list() {
|
fn from_list() {
|
||||||
|
let empty_list: &'static [i64] = &[];
|
||||||
|
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
indoc!(
|
indoc!(
|
||||||
r#"
|
r#"
|
||||||
|
@ -216,7 +218,7 @@ fn from_list() {
|
||||||
|> Set.toList
|
|> Set.toList
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
&[],
|
empty_list,
|
||||||
&[i64]
|
&[i64]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -231,7 +233,7 @@ fn from_list() {
|
||||||
|> Set.toList
|
|> Set.toList
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
&[],
|
empty_list,
|
||||||
&[i64]
|
&[i64]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue