diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-06 10:56:38 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-06 10:56:38 +0900 |
commit | 26d20c0c85b2a0aa8d78bbff3b315d2d25387cdd (patch) | |
tree | b53e1ceaf411546132a680751bb425ae98ec5d8b /test | |
parent | 645f4a36ddc2eb60e65a4f99e63e0879c69578e4 (diff) | |
download | plum-26d20c0c85b2a0aa8d78bbff3b315d2d25387cdd.tar.gz |
test: stream: fix test_stream_illegal_frame_type
Diffstat (limited to 'test')
-rw-r--r-- | test/plum/test_stream.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plum/test_stream.rb b/test/plum/test_stream.rb index ab0a135..19162e7 100644 --- a/test/plum/test_stream.rb +++ b/test/plum/test_stream.rb @@ -3,10 +3,10 @@ require "test_helper" using Plum::BinaryString class StreamTest < Minitest::Test - def test_stream_state_illegal_frame_type + def test_stream_illegal_frame_type open_new_stream {|stream| assert_connection_error(:protocol_error) { - stream.process_frame(Frame.new(type: :rst_stream, stream_id: stream.id, payload: "\x00\x00\x00\x00")) + stream.process_frame(Frame.new(type: :goaway, stream_id: stream.id, payload: "\x00\x00\x00\x00")) } } end |