diff --git a/test/test_terminal.jl b/test/test_terminal.jl index 60bef4a2..954e041a 100644 --- a/test/test_terminal.jl +++ b/test/test_terminal.jl @@ -207,14 +207,9 @@ end Base.text_colors[Base.error_color()] end @test occursin("$(warncolor)%\e[39m2 = call → fmulti(::Any)::Union{Float32, Int64}", lines) - if isdefined(Core.Compiler, :NoCallInfo) - write(in, keydict[:down]) - write(in, keydict[:enter]) - lines = cread(out) - else - write(in, keydict[:enter]) - lines = cread1(out) - end + write(in, keydict[:down]) + write(in, keydict[:enter]) + lines = cread(out) @test occursin("%2 = fmulti(::Int32)::Union{Float32, $Int}", lines) @test occursin("%2 = fmulti(::Float32)::Union{Float32, $Int}", lines) @test occursin("%2 = fmulti(::Char)::Union{Float32, $Int}", lines)