Skip to content

Commit

Permalink
use assert_nil
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Apr 23, 2019
1 parent 9ba45fa commit 4e9a288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/autolink_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_escapes_quotes
end

def test_global_skip_tags
assert_equal Rinku.skip_tags, nil
assert_nil Rinku.skip_tags
Rinku.skip_tags = ['pre']
assert_equal Rinku.skip_tags, ['pre']

Expand Down

0 comments on commit 4e9a288

Please sign in to comment.