diff options
| author | Blaž Hrastnik <[email protected]> | 2015-07-10 20:17:16 +0200 |
|---|---|---|
| committer | Blaž Hrastnik <[email protected]> | 2015-07-13 14:04:42 +0200 |
| commit | d046814d8bec1f3be1994918d60f9345a50a0e23 (patch) | |
| tree | 97eac5575936154f32fd63ad08359f0405359dba | |
| parent | f962890a928b566c0f5ca7fdff5ef4ce19207e65 (diff) | |
| download | mruby-d046814d8bec1f3be1994918d60f9345a50a0e23.tar.gz mruby-d046814d8bec1f3be1994918d60f9345a50a0e23.zip | |
Rename classes because of conflicts
| -rw-r--r-- | test/t/module.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/t/module.rb b/test/t/module.rb index 9faaf6e2c..3c87c122b 100644 --- a/test/t/module.rb +++ b/test/t/module.rb @@ -491,18 +491,18 @@ assert('Module#prepend') do def m1; [:M4, super, :M4] end end - class C0 + class P0 include M0 prepend M1 def m1; [:C0, super, :C0] end end - class C1 < C0 + class P1 < P0 prepend M2, M3 include M4 def m1; [:C1, super, :C1] end end - obj = C1.new + obj = P1.new expected = [:M2,[:M3,[:C1,[:M4,[:M1,[:C0,[:M0],:C0],:M1],:M4],:C1],:M3],:M2] assert_equal(expected, obj.m1) end |
