Skip to content

Commit

Permalink
Fix juliadir test on 1.12
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 committed Oct 3, 2024
1 parent 0ed87d4 commit 53031c0
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 53031c0

Please sign in to comment.