Skip to content

Commit 15915aa

Browse files
authored
Merge pull request #230 from JuliaInterop/unsent-msg
Create unsent messages in the tests
2 parents 03cf2c1 + 3ebf73f commit 15915aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/runtests.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ end
4242
@test Base.strides(msg) == (1,)
4343

4444
# Test similar() and copy() fixes in https://github.com/JuliaInterop/ZMQ.jl/pull/165
45-
# Note that we have to send this message to work around
46-
# https://github.com/JuliaInterop/ZMQ.jl/issues/166
4745
@test similar(msg, UInt8, 12) isa Vector{UInt8}
4846
@test copy(msg) == codeunits("test request")
49-
ZMQ.send(s2, msg)
47+
48+
ZMQ.send(s2, Message("test request"))
5049
@test unsafe_string(ZMQ.recv(s1)) == "test request"
5150
ZMQ.send(s1, Message("test response"))
5251
@test unsafe_string(ZMQ.recv(s2)) == "test response"

0 commit comments

Comments
 (0)