lib/rspec/matchers/operator_matcher.rb in rspec-expectations-2.7.0 vs lib/rspec/matchers/operator_matcher.rb in rspec-expectations-2.8.0.rc1

- old
+ new

@@ -1,8 +1,7 @@ module RSpec module Matchers - class OperatorMatcher class << self def registry @registry ||= {} end @@ -80,8 +79,7 @@ return false unless actual.__send__(operator, expected) return fail_with_message("expected not: #{operator} #{expected.inspect}\n got: #{operator.gsub(/./, ' ')} #{actual.inspect}") end end - end end