Skip to content

Commit

Permalink
REPL: suppress foo echo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Mar 4, 2022
1 parent 1040a17 commit 564a78e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/REPL/test/repl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ fake_repl() do stdin_write, stdout_read, repl
@test readuntil(stdout_read, "end", keep=true) == "\n\r\e[7C α=1\n\r\e[7C β=2\n\r\e[7Cend"

# Test switching repl modes
redirect_stdout(devnull) do # to suppress "foo" echoes
sendrepl2("""\e[200~
julia> A = 1
1
Expand All @@ -772,6 +773,7 @@ fake_repl() do stdin_write, stdout_read, repl
julia> B = 2
2\e[201~
""")
end # redirect_stdout
wait(c)
@test Main.A == 1
@test Main.B == 2
Expand Down

0 comments on commit 564a78e

Please sign in to comment.