Skip to content

Commit

Permalink
Fix juliadir test on 1.12 (#855)
Browse files Browse the repository at this point in the history
Overriding constants is technically forbidden, but allowed for
interactive convenience. 1.12 tightened the rules and requires
the `const` keyword for const redefine.
  • Loading branch information
Keno authored Oct 3, 2024
1 parent 78ec36e commit 98e1258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/juliadir.jl
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit 98e1258

Please sign in to comment.