mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Update wasm-str tests
This commit is contained in:
parent
d88452e3d2
commit
0bcbc065c2
1 changed files with 3 additions and 3 deletions
|
@ -299,14 +299,14 @@ fn small_str_zeroed_literal() {
|
|||
reusedSpace = createStr isForRealThisTime
|
||||
|
||||
# Unoptimised 'if' ensures that we don't just allocate in the caller's frame
|
||||
if True then
|
||||
if Bool.true then
|
||||
reusedSpace
|
||||
else
|
||||
reusedSpace
|
||||
|
||||
main =
|
||||
garbage = functionWithReusedSpace False
|
||||
functionWithReusedSpace True
|
||||
garbage = functionWithReusedSpace Bool.false
|
||||
functionWithReusedSpace Bool.true
|
||||
"#
|
||||
),
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue