summaryrefslogtreecommitdiffhomepage
path: root/test/t/class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/class.rb')
-rw-r--r--test/t/class.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/t/class.rb b/test/t/class.rb
index e6d7128fa..eb470e416 100644
--- a/test/t/class.rb
+++ b/test/t/class.rb
@@ -229,26 +229,3 @@ end
assert('Class Dup 2') do
module M; end; M.dup.class == Module
end
-
-assert('Class Alias 1') do
- class A
- def test; 1; end
-
- alias test2 test
- alias :test3 :test
- end
-
- A.new.test2 == 1 and A.new.test3 == 1
-end
-
-assert('Class Alias 2') do
- class A
- def test; 1; end
-
- alias test2 test
-
- def test; 2; end
- end
-
- A.new.test == 2 and A.new.test2 == 1
-end