wasm: fix remaining tests for capacity

This commit is contained in:
Brian Carroll 2022-03-11 19:20:57 +00:00
parent 38b8c45b23
commit ad5da76588
3 changed files with 10 additions and 5 deletions

View file

@ -355,8 +355,8 @@ fn small_str_concat_small_to_big() {
#[test]
fn small_str_concat_small_to_small_staying_small() {
assert_evals_to!(
r#"Str.concat "J" "JJJJJJJJJJJ""#,
[0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x8b],
r#"Str.concat "0" "1234567890""#,
[0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30, 0x8b],
[u8; 12]
);
}