1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Improve test data in test_abbrev.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2012-11-30 03:56:25 +00:00
parent 06c3b413f0
commit aac52e2b87

View file

@ -3,7 +3,7 @@ require 'abbrev'
class TestAbbrev < Test::Unit::TestCase
def test_abbrev
words = %w[summer winter ruby rules]
words = %w[summer winter win ruby rules]
assert_equal({
"rub" => "ruby",
@ -17,9 +17,7 @@ class TestAbbrev < Test::Unit::TestCase
"summ" => "summer",
"summe" => "summer",
"summer" => "summer",
"w" => "winter",
"wi" => "winter",
"win" => "winter",
"win" => "win",
"wint" => "winter",
"winte" => "winter",
"winter" => "winter",