Skip to content

Commit eb9b06d

Browse files
authored
build(deps-dev): update rubocop-minitest requirement from 0.32.2 to 0.33.0 (#3012)
2 parents f74f48c + 98326be commit eb9b06d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ group :development do
2929
# rubocop
3030
if Gem::Requirement.new("~> 3.0").satisfied_by?(Gem::Version.new(RUBY_VERSION))
3131
gem "rubocop", "1.57.1"
32-
gem "rubocop-minitest", "0.32.2"
32+
gem "rubocop-minitest", "0.33.0"
3333
gem "rubocop-packaging", "0.5.2"
3434
gem "rubocop-performance", "1.19.1"
3535
gem "rubocop-rake", "= 0.6.0"

test/xml/test_node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ def test_serialize_unparented_node
15111511
if Nokogiri.uses_libxml?
15121512
doc = Nokogiri::XML(xml, &:nobig_lines)
15131513
node = doc.at_css("x")
1514-
assert_operator(node.line, :==, max_short_int)
1514+
assert_equal(node.line, max_short_int)
15151515
end
15161516

15171517
doc = Nokogiri::XML(xml)

test/xml/test_node_set.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,31 +284,31 @@ def awesome(ns)
284284
assert(node_set_one = xml.xpath("//employee"))
285285
assert(node_set_two = xml.xpath("//employee"))
286286

287-
refute_operator(node_set_one.object_id, :==, node_set_two.object_id)
287+
refute_equal(node_set_one.object_id, node_set_two.object_id)
288288
refute_same(node_set_one, node_set_two)
289289

290-
assert_operator(node_set_one, :==, node_set_two)
290+
assert_operator(node_set_one, :==, node_set_two) # rubocop:disable Minitest/AssertEqual
291291
end
292292

293293
it "handles comparison to a string" do
294294
node_set_one = xml.xpath("//employee")
295-
refute_operator(node_set_one, :==, "asdfadsf")
295+
refute_operator(node_set_one, :==, "asdfadsf") # rubocop:disable Minitest/RefuteEqual
296296
end
297297

298298
it "returns false if same elements are out of order" do
299299
one = xml.xpath("//employee")
300300
two = xml.xpath("//employee")
301301
two.push(two.shift)
302-
refute_operator(one, :==, two)
302+
refute_operator(one, :==, two) # rubocop:disable Minitest/RefuteEqual
303303
end
304304

305305
it "returns false if one is a subset of the other" do
306306
node_set_one = xml.xpath("//employee")
307307
node_set_two = xml.xpath("//employee")
308308
node_set_two.delete(node_set_two.first)
309309

310-
refute_operator(node_set_one, :==, node_set_two)
311-
refute_operator(node_set_two, :==, node_set_one)
310+
refute_operator(node_set_one, :==, node_set_two) # rubocop:disable Minitest/RefuteEqual
311+
refute_operator(node_set_two, :==, node_set_one) # rubocop:disable Minitest/RefuteEqual
312312
end
313313
end
314314

0 commit comments

Comments
 (0)