mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
PR: rename to List.concatUtf8
This commit is contained in:
parent
33e8a7a439
commit
f7bec802c0
18 changed files with 81 additions and 89 deletions
|
@ -4123,3 +4123,15 @@ mod pattern_match {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn list_concat_utf8() {
|
||||
assert_evals_to!(
|
||||
r#"
|
||||
List.concatUtf8 [1, 2, 3, 4] "🐦"
|
||||
"#,
|
||||
RocList::from_slice(&[1u8, 2, 3, 4, 240, 159, 144, 166]),
|
||||
RocList<u8>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue