Skip to content
Browse files

Added missing mispellings_for test where no corrections are needed

  • Loading branch information...
1 parent 13e4bad commit cd9b2b4bbabdd915bebcef89786f56d906fe0a25 @drbrain drbrain committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/test_rdoc_generator_spellcheck.rb
View
6 test/test_rdoc_generator_spellcheck.rb
@@ -93,6 +93,12 @@ def test_misspellings_for
assert_match %r%^"gud"%, out
end
+ def test_misspellings_for_empty
+ out = @sc.misspellings_for 'class Object', comment(''), @top_level
+
+ assert_empty out
+ end
+
def test_suggestion_text
out = @sc.suggestion_text @text, 'gud', 28

0 comments on commit cd9b2b4

Please sign in to comment.
Something went wrong with that request. Please try again.