Skip to content

Commit

Permalink
Squash argument warning on 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed May 13, 2012
1 parent f5986af commit f99ea8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec_utils.rb
Expand Up @@ -196,7 +196,7 @@ def kcodeu

lambda { Rack::Utils.parse_nested_query("x[y]=1&x[]=1") }.
should.raise(TypeError).
message.should.match /expected Array \(got [^)]*\) for param `x'/
message.should.match(/expected Array \(got [^)]*\) for param `x'/)

lambda { Rack::Utils.parse_nested_query("x[y]=1&x[y][][w]=2") }.
should.raise(TypeError).
Expand Down

0 comments on commit f99ea8c

Please sign in to comment.