Skip to content

Commit

Permalink
Merge pull request #360 from Confusion/patch-1
Browse files Browse the repository at this point in the history
Corrected typo in #258: acutal -> actual
  • Loading branch information
myronmarston committed Nov 16, 2013
2 parents fdb6d16 + 47333c9 commit 2f40a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/expectations/diff_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def pick_encoding(source_a, source_b)

def handle_encoding_errors
if actual.encoding != expected.encoding
"Could not produce a diff because the encoding of the actual string (#{acutal.encoding}) "+
"Could not produce a diff because the encoding of the actual string (#{actual.encoding}) "+
"differs from the encoding of the expected string (#{expected.encoding})"
else
"Could not produce a diff because of the encoding of the string (#{expected.encoding})"
Expand Down

0 comments on commit 2f40a6c

Please sign in to comment.