Generate a test "platform" with libc allocator functions

This commit is contained in:
Brian Carroll 2021-11-15 23:15:12 +00:00
parent e9f920827e
commit b8f40011b9
3 changed files with 149 additions and 28 deletions

View file

@ -300,16 +300,7 @@ fn long_str_literal() {
fn small_str_concat_empty_first_arg() {
assert_evals_to!(
r#"Str.concat "" "JJJJJJJ""#,
[
0x4a,
0x4a,
0x4a,
0x4a,
0x4a,
0x4a,
0x4a,
0b1000_0111
],
[0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0x4a, 0b1000_0111],
[u8; 8]
);
}