From aac52e2b87389aa41013e6fd7f26d119de10c209 Mon Sep 17 00:00:00 2001 From: knu Date: Fri, 30 Nov 2012 03:56:25 +0000 Subject: [PATCH] Improve test data in test_abbrev. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_abbrev.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_abbrev.rb b/test/test_abbrev.rb index 3cf1acfb05..13d673e8e1 100644 --- a/test/test_abbrev.rb +++ b/test/test_abbrev.rb @@ -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",