null+****@clear*****
null+****@clear*****
2012年 6月 4日 (月) 16:49:32 JST
Haruka Yoshihara 2012-06-04 16:49:32 +0900 (Mon, 04 Jun 2012)
New Revision: 98710df87cac31ff373434ceeccde9523409476b
Log:
test: Fix arguments with using StringIO objects
Modified files:
test/test-executor.rb
Modified: test/test-executor.rb (+3 -2)
===================================================================
--- test/test-executor.rb 2012-05-24 00:17:51 +0900 (7c184b9)
+++ test/test-executor.rb 2012-06-04 16:49:32 +0900 (fce5b75)
@@ -18,8 +18,9 @@ require "groonga/tester"
class TestExecutor < Test::Unit::TestCase
def setup
- @groonga = stub
- @executor = Groonga::Tester::Executor.new(@groonga)
+ input = StringIO.new
+ output = StringIO.new
+ @executor = Groonga::Tester::Executor.new(input, output)
@context =****@execu*****
@script = Tempfile.new("test-executor")
end