about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-11-06 02:56:19 +0000
committerEric Wong <normalperson@yhbt.net>2012-11-06 02:56:19 +0000
commit9aebe2b94197aa2ad653ea971cb8f06e14c065fa (patch)
tree46ea3f18a8eac15be5396cf148693c15ed0237ba
parentaaf1279e3e73e301b8f65b651933ebe287b82b4d (diff)
1.8 did not support my preferred way of writing hashes
with symbol keys.
-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 9bff918..b47c112 100644
--- a/test/test_clogger.rb
+++ b/test/test_clogger.rb
@@ -847,7 +847,7 @@ class TestClogger < Test::Unit::TestCase
     @req["rack.multiprocess"] = true
     @req["rack.run_once"] = false
     app = Rack::ContentLength.new(Rack::ContentType.new(Rack::Lobster.new))
-    cl = Clogger.new(app, format: :Combined)
+    cl = Clogger.new(app, :format => :Combined)
     @req["rack.errors"] = err = StringIO.new
     status, headers, body = r = Rack::Lint.new(cl).call(@req)
     body.each { |x| assert_kind_of String, x.to_str }