From a996d9a358ed0e52f787bb7ae7b2e9f493ac7fb3 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Tue, 21 May 2024 15:17:20 -0500 Subject: [PATCH] Update test for Julia 1.11 --- .../{complexexample.txt => complexexample_pre_1_11.txt} | 0 test/reportgeneration.jl | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename test/references/{complexexample.txt => complexexample_pre_1_11.txt} (100%) diff --git a/test/references/complexexample.txt b/test/references/complexexample_pre_1_11.txt similarity index 100% rename from test/references/complexexample.txt rename to test/references/complexexample_pre_1_11.txt diff --git a/test/reportgeneration.jl b/test/reportgeneration.jl index 9187ee1..e6b9bdd 100644 --- a/test/reportgeneration.jl +++ b/test/reportgeneration.jl @@ -12,8 +12,10 @@ const TEST_PKG = (name = "Example", uuid = UUID("7876af07-990d-54b4-ab0e-2369062 end @testset "Complex Example" begin - test_file = if VERSION >= v"1.9.0-beta4.29" # https://github.com/JuliaLang/julia/pull/48526 + test_file = if VERSION >= v"1.11-" "references/complexexample.txt" + elseif VERSION >= v"1.9.0-beta4.29" # https://github.com/JuliaLang/julia/pull/48526 + "references/complexexample_pre_1_11.txt" elseif VERSION >= v"1.7.0" "references/complexexample_pre_1_9.txt" else