mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
add test
This commit is contained in:
parent
a3d56bce3a
commit
be28ee2a64
1 changed files with 16 additions and 0 deletions
|
@ -3230,3 +3230,19 @@ fn issue_2322() {
|
||||||
i64
|
i64
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
#[cfg(any(feature = "gen-llvm"))]
|
||||||
|
fn box_and_unbox_string() {
|
||||||
|
assert_evals_to!(
|
||||||
|
indoc!(
|
||||||
|
r#"
|
||||||
|
Box.unbox (Box.box (Str.concat "Leverage " "agile frameworks to provide a robust synopsis for high level overviews"))
|
||||||
|
"#
|
||||||
|
),
|
||||||
|
RocStr::from(
|
||||||
|
"Leverage agile frameworks to provide a robust synopsis for high level overviews"
|
||||||
|
),
|
||||||
|
RocStr
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue