Skip to content

Commit

Permalink
fixup! WIP: Fix support for older versions of Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Aug 21, 2022
1 parent f0b838c commit 51bc1f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/unit/expectation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ def test_should_not_match_keyword_args_with_last_positional_hashes
expectation = new_expectation.with(1, Hash.ruby2_keywords_hash({ :a => 1 }))
assert !expectation.match?(Invocation.new(:irrelevant, :expected_method, 1, { :a => 1 }))
end
else
def test_should_match_keyword_args_with_last_positional_hashes
expectation = new_expectation.with(1, Hash.ruby2_keywords_hash({ :a => 1 }))
assert expectation.match?(Invocation.new(:irrelevant, :expected_method, 1, { :a => 1 }))
end
end

def test_should_allow_invocations_until_expected_invocation_count_is_one_and_actual_invocation_count_would_be_two
Expand Down

0 comments on commit 51bc1f2

Please sign in to comment.