mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Update more dict/set references
This commit is contained in:
parent
ab796d93ff
commit
3d0a0a4a99
10 changed files with 42 additions and 42 deletions
|
@ -21,7 +21,7 @@ fn empty_len() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
Set.len Set.empty
|
||||
Set.len (Set.empty {})
|
||||
"#
|
||||
),
|
||||
0,
|
||||
|
@ -73,7 +73,7 @@ fn insert() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
Set.empty
|
||||
Set.empty {}
|
||||
|> Set.insert 0
|
||||
|> Set.insert 1
|
||||
|> Set.insert 2
|
||||
|
@ -91,7 +91,7 @@ fn remove() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
Set.empty
|
||||
Set.empty {}
|
||||
|> Set.insert 0
|
||||
|> Set.insert 1
|
||||
|> Set.remove 1
|
||||
|
@ -259,7 +259,7 @@ fn to_list_empty() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
Set.toList Set.empty
|
||||
Set.toList (Set.empty {})
|
||||
"#
|
||||
),
|
||||
RocList::<std::convert::Infallible>::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue