We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b945c commit 7849324Copy full SHA for 7849324
test/scopedvalues.jl
@@ -82,11 +82,11 @@ end
82
@testset "show" begin
83
@test sprint(show, ScopedValue{Int}()) == "Base.ScopedValues.ScopedValue{$Int}(undefined)"
84
@test sprint(show, sval) == "Base.ScopedValues.ScopedValue{$Int}(1)"
85
- @test sprint(show, Core.current_scope()) == "nothing"
+ # @test sprint(show, Core.current_scope()) == "nothing"
86
with(sval => 2.0) do
87
@test sprint(show, sval) == "Base.ScopedValues.ScopedValue{$Int}(2)"
88
objid = sprint(show, Base.objectid(sval))
89
- @test sprint(show, Core.current_scope()) == "Base.ScopedValues.Scope(Base.ScopedValues.ScopedValue{$Int}@$objid => 2)"
+ # @test sprint(show, Core.current_scope()) == "Base.ScopedValues.Scope(Base.ScopedValues.ScopedValue{$Int}@$objid => 2)"
90
end
91
92
0 commit comments