Skip to content

Commit aa724f3

Browse files
committed
Fix test
1 parent 4944a41 commit aa724f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ end
142142
sf()
143143
end
144144

145+
const sval_unassigned = ScopedValue{Int}()
145146
@testset "get with default" begin
146-
const sval_unassigned = ScopedValue{Int}()
147147
@test ScopedValues.get(sval_unassigned, nothing) == nothing
148148
@test ScopedValues.get(sval_unassigned, -1) == -1
149149
@with sval_unassigned=>10 begin

0 commit comments

Comments
 (0)