blob: b539d77104b0c40b441f63a6da80838f79e01af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require "test_helper"
using Plum::BinaryString
class ClientConnectionTest < Minitest::Test
def test_open_stream
con = open_client_connection
stream = con.open_stream(weight: 256)
assert(stream.id % 2 == 1)
assert_equal(256, stream.weight)
end
end
|