Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit a787fa2

Browse files
committed
Fix code doc
1 parent 048eedd commit a787fa2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rspec/support/fuzzy_matcher.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ def self.values_match?(expected, actual)
1717
begin
1818
expected === actual
1919
rescue ArgumentError
20-
# Some objects, like 0-arg lambdas on 1.9+, raise
21-
# ArgumentError for `expected === actual`.
20+
# Some objects, like 0-arg lambdas, raise ArgumentError when compared with ===.
2221
false
2322
end
2423
end

0 commit comments

Comments
 (0)