diff options
Diffstat (limited to 'test/test_proxy_pass.rb')
-rw-r--r-- | test/test_proxy_pass.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_proxy_pass.rb b/test/test_proxy_pass.rb index 5dd8058..4c4b53a 100644 --- a/test/test_proxy_pass.rb +++ b/test/test_proxy_pass.rb @@ -485,7 +485,7 @@ class TestProxyPass < Testcase assert_equal exp, res errs = File.readlines(@err.path).grep(/\bERROR\b/) assert_equal 1, errs.size - assert_match(/premature upstream EOF/, errs[0]) + assert_match(/upstream EOF/, errs[0]) @err.truncate(0) # truncated headers or no response at all... @@ -501,7 +501,7 @@ class TestProxyPass < Testcase s.close errs = File.readlines(@err.path).grep(/\bERROR\b/) assert_equal 1, errs.size - assert_match(/premature upstream EOF/, errs[0]) + assert_match(/upstream EOF/, errs[0]) @err.truncate(0) end end |