summaryrefslogtreecommitdiffstats
path: root/sample/test.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-03 06:49:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-03 06:49:56 +0000
commit1b4364b440d3d76d7f8b5a00026903f4a97c06fe (patch)
tree2e42f39b8dec9cacb0fe135b37d2b7e2cb159605 /sample/test.rb
parent61310976a12f50417b39417197e12f797301abfe (diff)
downloadruby-1b4364b440d3d76d7f8b5a00026903f4a97c06fe.tar.gz
ruby-1b4364b440d3d76d7f8b5a00026903f4a97c06fe.tar.xz
ruby-1b4364b440d3d76d7f8b5a00026903f4a97c06fe.zip
* sample/test.rb: should update class variable tests
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 11d555540..21f85f80a 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -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")