Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing mispellings_for test where no corrections are needed

  • Loading branch information...
commit cd9b2b4bbabdd915bebcef89786f56d906fe0a25 1 parent 13e4bad
@drbrain drbrain authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.