Skip to content

Commit 1ed6eb5

Browse files
committed
[rb] fix order of operations bug
1 parent 5a89b22 commit 1ed6eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/spec/rspec_matchers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
end
3030

3131
failure_message do
32-
but_message = if @deprecations_found.empty? || @deprecations_found.nil?
32+
but_message = if @deprecations_found.nil? || @deprecations_found.empty?
3333
'no deprecations were found'
3434
else
3535
"instead these deprecations were found: [#{@deprecations_found.join(', ')}]"

0 commit comments

Comments
 (0)