Skip to content

Commit

Permalink
style(rubocop): Minitest/AssertKindOf
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 29, 2024
1 parent ad199db commit a3bd673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/test_integration_resultset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ def test_real_translation
@db.execute("insert into foo_real values (42)")
@db.query("select a, sum(a), typeof(a), typeof(sum(a)) from foo_real") do |result|
result = result.next
assert result[0].is_a?(Float)
assert result[1].is_a?(Float)
assert result[2].is_a?(String)
assert result[3].is_a?(String)
assert_kind_of Float, result[0]
assert_kind_of Float, result[1]
assert_kind_of String, result[2]
assert_kind_of String, result[3]
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_statement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def test_clear_bindings!
end

def test_stat
assert @stmt.stat.is_a?(Hash)
assert_kind_of Hash, @stmt.stat
end

def test_stat_fullscan_steps
Expand Down

0 comments on commit a3bd673

Please sign in to comment.