# File lib/mspec/matchers/equal_utf16.rb, line 13 def expected_swapped @expected_swapped ||= @expected.map { |x| x.to_str.gsub(/(.)(.)/, '\2\1') } end
# File lib/mspec/matchers/equal_utf16.rb, line 17 def failure_message ["Expected #{@actual.pretty_inspect}", "to equal #{@expected.pretty_inspect} or #{expected_swapped.pretty_inspect}"] end
Generated with the Darkfish Rdoc Generator 2.