diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-09 19:07:21 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-09 19:07:21 +0900 |
commit | 11be104f7ac9e2fe91bd5f82a1bb2489692cdce8 (patch) | |
tree | a3b99e935d6ad125dcac6ff657d88dd8d14f0381 /test/plum/connection | |
parent | 4b9266ad29d6f8b344ea73b74b0184026902ed0f (diff) | |
download | plum-11be104f7ac9e2fe91bd5f82a1bb2489692cdce8.tar.gz |
rename {Connection,Stream}Error to Remote{Connection,Stream}Error and create Local*Error
Diffstat (limited to 'test/plum/connection')
-rw-r--r-- | test/plum/connection/test_handle_frame.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/plum/connection/test_handle_frame.rb b/test/plum/connection/test_handle_frame.rb index 6aa7db7..d1cc54e 100644 --- a/test/plum/connection/test_handle_frame.rb +++ b/test/plum/connection/test_handle_frame.rb @@ -62,7 +62,10 @@ class ServerConnectionHandleFrameTest < Minitest::Test def test_server_handle_goaway_reply open_server_connection {|con| assert_no_error { - con << Frame.goaway(1234, :stream_closed).assemble + begin + con << Frame.goaway(1, :stream_closed).assemble + rescue LocalHTTPError + end } assert_equal(:goaway, sent_frames.last.type) } |