diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-10 23:14:17 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-10 23:14:17 +0000 |
commit | 8440511363bdda64d6d1384662e5da0c0a9d0f96 (patch) | |
tree | a43e8b57d522c6353ac48d9ff44f6322dff93f97 /test/test_pstore.rb | |
parent | ea627f36b994ebe80d1603407f522307f959d229 (diff) |
merge revision(s) r33265:
* lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pstore.rb')
-rw-r--r-- | test/test_pstore.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_pstore.rb b/test/test_pstore.rb index 21831903cf..e8a1032c98 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 |