summaryrefslogtreecommitdiff
path: root/test/mkmf
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkmf')
-rw-r--r--test/mkmf/base.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 86bdd29286..3ba3e03387 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -49,11 +49,11 @@ module TestMkmf::Base
def filter(&block)
@filter = block
end
- def write(s)
+ def write(*s)
if @out
- @buffer << s
+ @buffer.concat(*s)
elsif @origin
- @origin << s
+ @origin.write(*s)
end
end
end