diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 912f0c5..9728974 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,7 +19,7 @@ jobs: version: - '1.8' - '1.10' - - '~1.12.0-rc1' + - '1.12' os: - ubuntu-latest - macOS-latest diff --git a/test/junit_xml.jl b/test/junit_xml.jl index a7b2b4b..d8ba3b0 100644 --- a/test/junit_xml.jl +++ b/test/junit_xml.jl @@ -39,6 +39,8 @@ function remove_variables(str) # e.g. "UndefVarError: `x` not defined in ..." => "UndefVarError: x not defined" # see: https://github.com/JuliaLang/julia/commit/449c7a2504191a96cfd382e0dbc0b40bf922cd6d r"UndefVarError: `(?[^`]*)` not defined in (.+)" => s"UndefVarError: \g not defined", + # Remove the extra info added to `UndefVarError` messages in Julia v1.12 + r"\s+Suggestion: check for spelling errors or missing imports." => "", ) end