null+****@clear*****
null+****@clear*****
2012年 3月 5日 (月) 17:31:43 JST
Kouhei Sutou 2012-03-05 17:31:43 +0900 (Mon, 05 Mar 2012)
New Revision: 47596b86b7c2832d4d78a8b976e2e911b461753a
Log:
Read script data as encoding aware data
Modified files:
bin/groonga-test
Modified: bin/groonga-test (+1 -1)
===================================================================
--- bin/groonga-test 2012-03-05 17:29:41 +0900 (8eeca85)
+++ bin/groonga-test 2012-03-05 17:31:43 +0900 (8687647)
@@ -147,7 +147,7 @@ class GroongaTester
result_path = Pathname(result_path_name)
return nil unless result_path.exist?
return nil if test_script_path == result_path
- result_path.open do |result_file|
+ result_path.open("r:ascii-8bit") do |result_file|
result_file.read
end
end