lib/assets/javascripts/opal/spec/matchers.rb in opal-spec-0.2.10 vs lib/assets/javascripts/opal/spec/matchers.rb in opal-spec-0.2.11

- old
+ new

@@ -1,6 +1,6 @@ -module Spec +module OpalTest class Matcher def initialize(actual) @actual = actual end @@ -60,10 +60,10 @@ end class EqlMatcher < Matcher def match(expected) unless expected == @actual - failure "expected: #{expected.inspect}, got: #{@actual.inspect} (using ==)." + failure "expected: #{@actual.inspect}, got: #{expected.inspect} (using ==)." end end def not_match(expected) if expected.equal? @actual