mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-25 13:36:37 +00:00
List.appendUnsafe and List.reserve
This commit is contained in:
parent
dda79a255e
commit
56c9787e8f
13 changed files with 165 additions and 81 deletions
|
|
@ -154,7 +154,7 @@ fn variously_sized_list_literals() {
|
|||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
fn list_append() {
|
||||
fn list_append_basic() {
|
||||
assert_evals_to!(
|
||||
"List.append [1] 2",
|
||||
RocList::from_slice(&[1, 2]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue