Str.startsWith, str.endsWith and friends

This commit is contained in:
Folkert 2023-02-10 20:18:20 +01:00
parent 8df8c19ae2
commit eb48f01f63
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
8 changed files with 98 additions and 54 deletions

View file

@ -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]