From 180ec60e9be04a9247c712f08c5f7ce0f8932f47 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Fri, 7 Oct 2016 11:44:01 +0200 Subject: [PATCH] add test --- test/repl.jl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/repl.jl b/test/repl.jl index e3c6e5a89e731..68b457fc49a70 100644 --- a/test/repl.jl +++ b/test/repl.jl @@ -532,3 +532,13 @@ if !is_windows() || Sys.windows_version() >= Sys.WINDOWS_VISTA_VER @test readstring(outs) == "1\n" end end # let exename + +# Test containers in error messages are limited #18726 +let io = IOBuffer() + REPL.display_error(io, + try [][trues(6000)] + catch e + e + end, []) + @test length(takebuf_string(io)) < 1500 +end