зеркало из https://github.com/github/ruby.git
* sample/test.rb: should update class variable tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
91a079cc86
Коммит
8ba5375af1
|
@ -2052,13 +2052,13 @@ class Titans < Gods
|
|||
end
|
||||
end
|
||||
|
||||
test_ok(Gods.new.ruler0 == "Uranus")
|
||||
test_ok(Gods.ruler1 == "Uranus")
|
||||
test_ok(Gods.ruler2 == "Uranus")
|
||||
test_ok(Titans.ruler1 == "Uranus")
|
||||
test_ok(Titans.ruler2 == "Uranus")
|
||||
test_ok(Gods.new.ruler0 == "Cronus")
|
||||
test_ok(Gods.ruler1 == "Cronus")
|
||||
test_ok(Gods.ruler2 == "Cronus")
|
||||
test_ok(Titans.ruler1 == "Cronus")
|
||||
test_ok(Titans.ruler2 == "Cronus")
|
||||
atlas = Titans.new
|
||||
test_ok(atlas.ruler0 == "Uranus")
|
||||
test_ok(atlas.ruler0 == "Cronus")
|
||||
test_ok(atlas.ruler3 == "Zeus")
|
||||
test_ok(atlas.ruler4 == "Cronus")
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче