diff --git a/compiler/test/suites/pattern_matching.re b/compiler/test/suites/pattern_matching.re index 4b03422a6..74f054f78 100644 --- a/compiler/test/suites/pattern_matching.re +++ b/compiler/test/suites/pattern_matching.re @@ -487,7 +487,7 @@ describe("pattern matching", ({test, testSkip}) => { ["str"] => void, } |}, - Warnings.PartialMatch({|([...]("str", [...](_, _))|[...]("", _)|[])|}), + Warnings.PartialMatch({|(["str", _, _]|["", _]|[])|}), ); assertWarning( "regression_2261_str_nested_arr",