Skip to content

Commit

Permalink
Bump rubocop-minitest from 0.29.0 to 0.31.0
Browse files Browse the repository at this point in the history
Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.29.0 to 0.31.0.
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.29.0...v0.31.0)

---
updated-dependencies:
- dependency-name: rubocop-minitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Linting
  • Loading branch information
dependabot[bot] authored and thoughtafter committed May 13, 2023
1 parent b8b849f commit 4135969
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
parser (>= 3.2.1.0)
rubocop-minitest (0.29.0)
rubocop-minitest (0.31.0)
rubocop (>= 1.39, < 2.0)
rubocop-performance (1.17.1)
rubocop (>= 1.7.0, < 2.0)
Expand Down
2 changes: 1 addition & 1 deletion test/basic_block_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_basic_block_position

block1.build do |builder|
assert inst = builder.ret
assert_equal LLVM::Instruction, inst.class
assert_instance_of LLVM::Instruction, inst
assert_equal :ret, inst.opcode

builder.position_before(inst)
Expand Down
12 changes: 6 additions & 6 deletions test/instruction_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,17 @@ def test_builder_returns_non_instruction_ints

prefixes.product(ops).map(&:join).each do |op|
assert inst = builder.send(op, LLVM::Int32.from_i(0), LLVM::Int32.from_i(0))
assert_equal LLVM::Int32, inst.class
assert_instance_of LLVM::Int32, inst
assert_equal "i32 0", inst.to_s
end

[:sdiv, :exact_sdiv, :udiv].each do |op|
assert inst = builder.send(op, LLVM::Int32.from_i(0), LLVM::Int32.from_i(1))
assert_equal LLVM::Int32, inst.class
assert_instance_of LLVM::Int32, inst
assert_equal "i32 0", inst.to_s

assert inst = builder.send(op, LLVM::Int32.from_i(0), LLVM::Int32.from_i(0))
assert_equal LLVM::Poison, inst.class
assert_instance_of LLVM::Poison, inst
assert_equal "i32 poison", inst.to_s
end
end
Expand All @@ -228,17 +228,17 @@ def test_builder_returns_non_instruction_floats
fn.basic_blocks.append.build do |builder|
[:fadd, :fsub, :fmul].each do |op|
assert inst = builder.send(op, LLVM::Float.from_f(0), LLVM::Float.from_f(0))
assert_equal LLVM::Float, inst.class
assert_instance_of LLVM::Float, inst
assert_equal "float 0.000000e+00", inst.to_s
end

[:fdiv, :frem].each do |op|
assert inst = builder.send(op, LLVM::Float.from_f(0), LLVM::Float.from_f(1))
assert_equal LLVM::Float, inst.class
assert_instance_of LLVM::Float, inst
assert_equal "float 0.000000e+00", inst.to_s

assert inst = builder.send(op, LLVM::Float.from_f(0), LLVM::Float.from_f(0))
assert_equal LLVM::Float, inst.class
assert_instance_of LLVM::Float, inst
assert_equal 'float 0x7FF8000000000000', inst.to_s
end
end
Expand Down

0 comments on commit 4135969

Please sign in to comment.