Skip to content
Browse files

Merge pull request #517 from AlexKVal/sml

unnecessary to_s
  • Loading branch information...
2 parents 9b2bc3e + 159f889 commit cf41edb37a66a9c939bab2e1ed807cce47b7eec3 @justinko justinko committed Nov 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/core/drb_options.rb
View
4 lib/rspec/core/drb_options.rb
@@ -55,8 +55,8 @@ def add_line_numbers(argv)
def add_filter(argv, name, hash)
hash.each_pair do |k, v|
next if [:if,:unless].include?(k)
- tag = name == :inclusion ? k.to_s : "~#{k.to_s}"
- tag << ":#{v.to_s}" if v.is_a?(String)
+ tag = name == :inclusion ? k.to_s : "~#{k}"
+ tag << ":#{v}" if v.is_a?(String)
argv << "--tag" << tag
end unless hash.empty?
end

0 comments on commit cf41edb

Please sign in to comment.
Something went wrong with that request. Please try again.