diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-09 01:19:40 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-09 01:19:40 +0900 |
commit | b9f7f878793d043bfa49faf21e7b8e988a32f93f (patch) | |
tree | 3c9276b3466342e16ca397ae3a5c801af566d480 /test/plum/test_stream.rb | |
parent | 8b7f6ae897f1abc83c1b8b8585083ac5cde610f0 (diff) | |
download | plum-b9f7f878793d043bfa49faf21e7b8e988a32f93f.tar.gz |
extract Frame creation into FrameFactory
Diffstat (limited to 'test/plum/test_stream.rb')
-rw-r--r-- | test/plum/test_stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plum/test_stream.rb b/test/plum/test_stream.rb index ce64854..9df9a55 100644 --- a/test/plum/test_stream.rb +++ b/test/plum/test_stream.rb @@ -21,7 +21,7 @@ class StreamTest < Minitest::Test def test_stream_close open_new_stream(state: :half_closed_local) {|stream| - stream.close(StreamError.new(:frame_size_error).http2_error_code) + stream.close(:frame_size_error) last = sent_frames.last assert_equal(:rst_stream, last.type) |