mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@83063a3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e658d45e1
commit
3fa5bd38af
494 changed files with 4133 additions and 3109 deletions
|
@ -3,7 +3,7 @@ require File.expand_path('../fixtures/classes', __FILE__)
|
|||
require File.expand_path('../shared/equal_value', __FILE__)
|
||||
|
||||
describe "Struct#eql?" do
|
||||
it_behaves_like(:struct_equal_value, :eql?)
|
||||
it_behaves_like :struct_equal_value, :eql?
|
||||
|
||||
it "returns false if any corresponding elements are not #eql?" do
|
||||
car = StructClasses::Car.new("Honda", "Accord", 1998)
|
||||
|
|
|
@ -3,5 +3,5 @@ require File.expand_path('../fixtures/classes', __FILE__)
|
|||
require File.expand_path('../shared/equal_value', __FILE__)
|
||||
|
||||
describe "Struct#==" do
|
||||
it_behaves_like(:struct_equal_value, :==)
|
||||
it_behaves_like :struct_equal_value, :==
|
||||
end
|
||||
|
|
|
@ -11,5 +11,5 @@ describe "Struct#inspect" do
|
|||
Whiskey.new('Jack', 100).inspect.should == '#<struct Whiskey name="Jack", ounces=100>'
|
||||
end
|
||||
|
||||
it_behaves_like(:struct_inspect, :inspect)
|
||||
it_behaves_like :struct_inspect, :inspect
|
||||
end
|
||||
|
|
|
@ -8,5 +8,5 @@ describe "Struct#to_s" do
|
|||
car.inspect.should == car.to_s
|
||||
end
|
||||
|
||||
it_behaves_like(:struct_inspect, :to_s)
|
||||
it_behaves_like :struct_inspect, :to_s
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue