Update wasm-str tests

This commit is contained in:
Ayaz Hafiz 2022-09-20 14:53:46 -05:00
parent d88452e3d2
commit 0bcbc065c2
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -299,14 +299,14 @@ fn small_str_zeroed_literal() {
reusedSpace = createStr isForRealThisTime reusedSpace = createStr isForRealThisTime
# Unoptimised 'if' ensures that we don't just allocate in the caller's frame # Unoptimised 'if' ensures that we don't just allocate in the caller's frame
if True then if Bool.true then
reusedSpace reusedSpace
else else
reusedSpace reusedSpace
main = main =
garbage = functionWithReusedSpace False garbage = functionWithReusedSpace Bool.false
functionWithReusedSpace True functionWithReusedSpace Bool.true
"# "#
), ),
[ [