mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Str.startsWith, str.endsWith and friends
This commit is contained in:
parent
8df8c19ae2
commit
eb48f01f63
8 changed files with 98 additions and 54 deletions
|
@ -3296,12 +3296,13 @@ fn box_num() {
|
|||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
#[ignore = "triggers some UB somewhere in at least the llvm and dev backends"]
|
||||
fn box_str() {
|
||||
assert_evals_to!(
|
||||
"Box.box \"short\"",
|
||||
RocBox::new(RocStr::from("short")),
|
||||
RocBox<RocStr>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue