aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-08-06 00:42:53 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-08-06 00:42:53 +0900
commitc651e91bebbd377caa04fa44c576798f1a12076d (patch)
tree4b2ddd27ddc2b0600869554af8f7d255ac9e571a /test
parent53abded1b2bc74c278aff855ca32ceb3f808f471 (diff)
downloadplum-c651e91bebbd377caa04fa44c576798f1a12076d.tar.gz
server_connection: specify initial stream state in constructor
Diffstat (limited to 'test')
-rw-r--r--test/plum/test_stream.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/plum/test_stream.rb b/test/plum/test_stream.rb
index 6bcae10..2fd48ce 100644
--- a/test/plum/test_stream.rb
+++ b/test/plum/test_stream.rb
@@ -3,18 +3,6 @@ require "test_helper"
using Plum::BinaryString
class StreamTest < Minitest::Test
- def test_stream_reserve
- open_new_stream {|stream|
- stream.reserve
- assert_equal(:reserved_local, stream.state)
- }
- open_new_stream(:open) {|stream|
- assert_connection_error(:protocol_error) {
- stream.reserve
- }
- }
- end
-
def test_stream_state_illegal_frame_type
open_new_stream {|stream|
assert_connection_error(:protocol_error) {