Skip to content

Commit 45bf89f

Browse files
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.
1 parent d77123f commit 45bf89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rdoc_generator_markup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
it "should ignore lower level titles" do
2020
@module.comment = RDoc::Comment.new '== Some Title'
21-
_(@module.comment_title).must_equal nil
21+
_(@module.comment_title).must_be_nil
2222
end
2323
end
2424

0 commit comments

Comments
 (0)