summaryrefslogtreecommitdiff
path: root/test/-ext-/array/test_resize.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/array/test_resize.rb')
-rw-r--r--test/-ext-/array/test_resize.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/-ext-/array/test_resize.rb b/test/-ext-/array/test_resize.rb
index c7a57f3..d393620 100644
--- a/test/-ext-/array/test_resize.rb
+++ b/test/-ext-/array/test_resize.rb
@@ -3,6 +3,12 @@ require 'test/unit'
require '-test-/array/resize'
class Test_Array < Test::Unit::TestCase
+ using Module.new {
+ refine(Array) {
+ def __resize__(len) ::Bug::Array.__resize__(self, len); end
+ }
+ }
+
class TestResize < Test::Unit::TestCase
def test_expand
feature = '[ruby-dev:42912]'