mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
fix formatting
This commit is contained in:
parent
ac2380f6c8
commit
b4b18cda5a
2 changed files with 6 additions and 3 deletions
|
@ -727,18 +727,21 @@ expect
|
|||
contains dict "baz" && Bool.not (contains dict "other")
|
||||
|
||||
expect
|
||||
dict = fromList [(T 1u8 1u8), (T 2 2), (T 3 3)]
|
||||
dict =
|
||||
fromList [T 1u8 1u8, T 2 2, T 3 3]
|
||||
|> remove 1
|
||||
|> remove 3
|
||||
|
||||
keys dict == [2]
|
||||
|
||||
expect
|
||||
list =
|
||||
fromList [(T 1u8 1u8), (T 2u8 2u8), (T 3 3)]
|
||||
fromList [T 1u8 1u8, T 2u8 2u8, T 3 3]
|
||||
|> remove 1
|
||||
|> insert 0 0
|
||||
|> remove 3
|
||||
|> keys
|
||||
|
||||
list == [0, 2]
|
||||
|
||||
# Reach capacity, no rehash.
|
||||
|
|
|
@ -202,4 +202,4 @@ expect
|
|||
|> insert 8
|
||||
|> insert 9
|
||||
|
||||
x == fromList (toList x)
|
||||
x == fromList (toList x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue