summaryrefslogtreecommitdiff
path: root/test/test_pstore.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-13 11:21:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-13 11:21:52 +0000
commit4e7c8bbe034e7f96b4d2880f99cf1bc75d4c6097 (patch)
tree2ddf8391f6a3cf759f6bb02170826fb4b62f00b9 /test/test_pstore.rb
parentf7081431f2c645b198db8ca00ab195c6b8c3d189 (diff)
* lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pstore.rb')
-rw-r--r--test/test_pstore.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_pstore.rb b/test/test_pstore.rb
index 2183190..e8a1032 100644
--- a/test/test_pstore.rb
+++ b/test/test_pstore.rb
@@ -116,10 +116,8 @@ class PStoreTest < Test::Unit::TestCase
def test_pstore_files_are_accessed_as_binary_files
bug5311 = '[ruby-core:39503]'
n = 128
- assert_in_out_err(["-rpstore", "-", @pstore_file], <<-SRC, [bug5311], [], bug5311)
+ assert_in_out_err(["-Eutf-8:utf-8", "-rpstore", "-", @pstore_file], <<-SRC, [bug5311], [], bug5311)
@pstore = PStore.new(ARGV[0])
- Encoding.default_internal = 'utf-8'
- Encoding.default_external = 'utf-8'
(1..#{n}).each do |i|
@pstore.transaction {@pstore["Key\#{i}"] = "value \#{i}"}
end