From 98e125860e0d2adc1ccc54a61e90d858df5d8de1 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 3 Oct 2024 08:18:49 -0400 Subject: [PATCH] Fix `juliadir` test on 1.12 (#855) Overriding constants is technically forbidden, but allowed for interactive convenience. 1.12 tightened the rules and requires the `const` keyword for const redefine. --- test/juliadir.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/juliadir.jl b/test/juliadir.jl index a1b8599f..771a07e7 100644 --- a/test/juliadir.jl +++ b/test/juliadir.jl @@ -1,6 +1,6 @@ using Revise, InteractiveUtils, Test -@eval Revise juliadir = ARGS[1] +@eval Revise const juliadir = ARGS[1] @test Revise.juliadir != Revise.basebuilddir @test Revise.juliadir != Revise.fallback_juliadir()