Skip to content

Commit f037c97

Browse files
GearsDatapackslpil
authored andcommitted
Update snapshot
1 parent 89ae2d8 commit f037c97

2 files changed

+3
-38
lines changed

compiler-core/src/javascript/tests/snapshots/gleam_core__javascript__tests__case__case_branches_guards_are_wrapped_in_parentheses.snap

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ function anything() {
2222

2323
} else {
2424
let $1 = $.tail;
25-
if ($1 instanceof $Empty) {
26-
if (false || true) {
27-
let a = $.head;
28-
return a;
29-
}
25+
if (($1 instanceof $Empty) && (false || true)) {
26+
let a = $.head;
27+
return a;
3028
}
3129
}
3230
}

compiler-core/src/javascript/tests/snapshots/gleam_core__javascript__tests__case__case_branches_guards_are_wrapped_in_parentheses.snap.new

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)