Skip to content

Commit f97c72f

Browse files
authored
Adjust message matching (#219)
1 parent 0098e40 commit f97c72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ include("setup.jl")
228228
resp = request(url, debug = (type, msg) -> push!(events, type => msg))
229229
@test resp isa Response && resp.status == 200
230230
@test any(events) do (type, msg)
231-
type == "TEXT" && startswith(msg, "Connected to ")
231+
type == "TEXT" && startswith(msg, r"(Connected to |Connection.* left intact)")
232232
end
233233
@test any(events) do (type, msg)
234234
type == "HEADER OUT" && contains(msg, r"^HEAD /get HTTP/[\d\.+]+\s$"m)

0 commit comments

Comments
 (0)