This commit is contained in:
Folkert 2022-03-08 22:21:37 +01:00
parent a3d56bce3a
commit be28ee2a64
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -3230,3 +3230,19 @@ fn issue_2322() {
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
)
}