Skip to content

Commit fd77d40

Browse files
REPL: suppress foo echo tests
1 parent fedb73c commit fd77d40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/REPL/test/repl.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ fake_repl() do stdin_write, stdout_read, repl
751751
@test readuntil(stdout_read, "end", keep=true) == "\n\r\e[7C α=1\n\r\e[7C β=2\n\r\e[7Cend"
752752

753753
# Test switching repl modes
754+
redirect_stdout(devnull) do # to suppress "foo" echoes
754755
sendrepl2("""\e[200~
755756
julia> A = 1
756757
1
@@ -772,6 +773,7 @@ fake_repl() do stdin_write, stdout_read, repl
772773
julia> B = 2
773774
2\e[201~
774775
""")
776+
end # redirect_stdout
775777
wait(c)
776778
@test Main.A == 1
777779
@test Main.B == 2

0 commit comments

Comments
 (0)