minor: tests use proper naming convention. test fix 1.8.6
This commit is contained in:
parent
5dd2636634
commit
0368e79c74
2
Rakefile
2
Rakefile
@ -47,7 +47,7 @@ namespace :test do
|
||||
end
|
||||
|
||||
Rake::TestTask.new(:functional) do |t|
|
||||
t.test_files = FileList['test/test*.rb']
|
||||
t.test_files = FileList['test/*_test.rb']
|
||||
t.verbose = true
|
||||
end
|
||||
|
||||
|
@ -77,7 +77,7 @@ class OrderedHashTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_to_a_order_preserved
|
||||
assert_equal @ordered_keys, @oh.to_a.map(&:first)
|
||||
assert_equal @ordered_keys, @oh.to_a.map {|m| m.first}
|
||||
end
|
||||
|
||||
def test_order_preserved_after_replace
|
Loading…
Reference in New Issue
Block a user