From c892056db8f6b1c6e7afd3b972ae4aa80baa981a Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Thu, 4 Jan 2018 08:49:05 -0600 Subject: [PATCH] Allow test/core.jl to be run from REPL If you've already said `using Test`, defining a function named `Test` causes problems. --- test/core.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core.jl b/test/core.jl index 7b470ec4113a08..e7d35a84cc276c 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