diff --git a/test/core.jl b/test/core.jl index 7b470ec4113a0..e7d35a84cc276 100644 --- a/test/core.jl +++ b/test/core.jl @@ -1896,11 +1896,11 @@ test5884() # issue #5924 let - function Test() + function test5924() func = function () end func end - @test Test()() === nothing + @test test5924()() === nothing end # issue #6031