about summary refs log tree commit homepage
path: root/test/unit/test_response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_response.rb')
-rw-r--r--test/unit/test_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_response.rb b/test/unit/test_response.rb
index 1d47c57..3cb0a41 100644
--- a/test/unit/test_response.rb
+++ b/test/unit/test_response.rb
@@ -43,7 +43,7 @@ class ResponseTest < Test::Unit::TestCase
     HttpResponse.write(io, [code, {}, []])
     assert io.closed?
     lines = io.string.split(/\r\n/)
-    assert_match(/.* #{HTTP_STATUS_CODES[code]}$/, lines.first,
+    assert_match(/.* Bad Request$/, lines.first,
                  "wrong default reason phrase")
   end