about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-04 19:19:28 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-04 19:22:28 -0700
commit09cae70d5509530ed3abff9046b1dc0fe448b3b3 (patch)
treedeabdd22992cdb12876ab3be1624207ab4a62ace /test
parent38e617b5a044ed91c799718d2188052c5646bc95 (diff)
downloadclogger-09cae70d5509530ed3abff9046b1dc0fe448b3b3.tar.gz
No point in having extra code to do case-insensitive lookups,
especially since the HeaderHash implementation is already in
wide use and will only get faster as time goes by.
Diffstat (limited to 'test')
-rw-r--r--test/test_clogger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_clogger.rb b/test/test_clogger.rb
index 71dbad8..e65311f 100644
--- a/test/test_clogger.rb
+++ b/test/test_clogger.rb
@@ -389,7 +389,7 @@ class TestClogger < Test::Unit::TestCase
     str = StringIO.new
     app = lambda { |env| [302, [ %w(a) ], []] }
     cl = Clogger.new(app, :logger => str, :format => '$sent_http_set_cookie')
-    assert_raise(TypeError) { cl.call(@req) }
+    assert_nothing_raised { cl.call(@req) }
   end
 
   def test_http_09_request