From 45bf89f9a84ff73860b2b178c32415ca66db5419 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Sun, 6 Aug 2023 16:39:14 -0500 Subject: [PATCH] Fix Minitest deprecation warning This fixes the following deprecation warning when running `rake test`: > DEPRECATED: Use assert_nil if expecting nil from .../sdoc/spec/rdoc_generator_markup_spec.rb:21. This will fail in Minitest 6. --- spec/rdoc_generator_markup_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rdoc_generator_markup_spec.rb b/spec/rdoc_generator_markup_spec.rb index 2b2a2eb0..5d44bb8e 100644 --- a/spec/rdoc_generator_markup_spec.rb +++ b/spec/rdoc_generator_markup_spec.rb @@ -18,7 +18,7 @@ it "should ignore lower level titles" do @module.comment = RDoc::Comment.new '== Some Title' - _(@module.comment_title).must_equal nil + _(@module.comment_title).must_be_nil end end