fix test reporting

This commit is contained in:
Luke Boswell 2024-11-11 19:47:55 +11:00
parent fc315f7c67
commit 9465b29376
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0

View file

@ -14659,7 +14659,7 @@ All branches in an `if` must have the same type!
leftover_statement,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14690,7 +14690,7 @@ All branches in an `if` must have the same type!
fx_fn_annotated_as_pure,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14728,7 +14728,7 @@ All branches in an `if` must have the same type!
fx_fn_annotated_as_pure_stmt,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14776,7 +14776,7 @@ All branches in an `if` must have the same type!
nested_function_def_fx_no_bang,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14807,7 +14807,7 @@ All branches in an `if` must have the same type!
ignored_result_stmt,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14839,7 +14839,7 @@ All branches in an `if` must have the same type!
ignored_stmt_forgot_to_call,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14881,7 +14881,7 @@ All branches in an `if` must have the same type!
function_def_leftover_bang,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14910,7 +14910,7 @@ All branches in an `if` must have the same type!
effect_in_top_level_value_def,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14948,7 +14948,7 @@ All branches in an `if` must have the same type!
aliased_fx_fn,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -14978,7 +14978,7 @@ All branches in an `if` must have the same type!
unsuffixed_fx_in_record,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15010,7 +15010,7 @@ All branches in an `if` must have the same type!
suffixed_pure_in_record,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15040,7 +15040,7 @@ All branches in an `if` must have the same type!
unsuffixed_fx_arg,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15077,7 +15077,7 @@ All branches in an `if` must have the same type!
suffixed_pure_arg,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15112,7 +15112,7 @@ All branches in an `if` must have the same type!
unsuffixed_tuple_fx_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15156,7 +15156,7 @@ All branches in an `if` must have the same type!
suffixed_tuple_pure_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15184,7 +15184,7 @@ All branches in an `if` must have the same type!
unsuffixed_tag_fx_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15228,7 +15228,7 @@ All branches in an `if` must have the same type!
suffixed_tag_pure_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15256,7 +15256,7 @@ All branches in an `if` must have the same type!
unsuffixed_opaque_fx_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15288,7 +15288,7 @@ All branches in an `if` must have the same type!
suffixed_opaque_pure_field,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15318,7 +15318,7 @@ All branches in an `if` must have the same type!
fx_passed_to_untyped_pure_hof,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect
@ -15361,7 +15361,7 @@ All branches in an `if` must have the same type!
fx_passed_to_partially_inferred_pure_hof,
indoc!(
r#"
app [main!] { pf: platform "../../../../../crates/test-platform-effects-zig/main.roc" }
app [main!] { pf: platform "../../../../../crates/cli/tests/test-projects/test-platform-effects-zig/main.roc" }
import pf.Effect