mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
test_gen: Fix an inaccurate test return value
This commit is contained in:
parent
be6408227a
commit
acc83bde7c
1 changed files with 3 additions and 3 deletions
|
@ -3654,7 +3654,7 @@ fn shared_pattern_variable_in_when_branches() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
fn symbol_not_bound_in_all_patterns_runs_when_no_bound_symbol_used() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -3665,8 +3665,8 @@ fn symbol_not_bound_in_all_patterns_runs_when_no_bound_symbol_used() {
|
|||
{a: f (A 15u8), b: f (B 15u8)}
|
||||
"#
|
||||
),
|
||||
31u8,
|
||||
u8,
|
||||
(31u8, 31u8),
|
||||
(u8, u8),
|
||||
|x| x,
|
||||
true // allow errors
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue