We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03cf2c1 + 3ebf73f commit 15915aaCopy full SHA for 15915aa
test/runtests.jl
@@ -42,11 +42,10 @@ end
42
@test Base.strides(msg) == (1,)
43
44
# 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
47
@test similar(msg, UInt8, 12) isa Vector{UInt8}
48
@test copy(msg) == codeunits("test request")
49
- ZMQ.send(s2, msg)
+
+ ZMQ.send(s2, Message("test request"))
50
@test unsafe_string(ZMQ.recv(s1)) == "test request"
51
ZMQ.send(s1, Message("test response"))
52
@test unsafe_string(ZMQ.recv(s2)) == "test response"
0 commit comments