diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-03 12:30:04 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-03 12:30:04 +0000 |
commit | b16f9112ed8b85552db2b04821f1ec338e07913e (patch) | |
tree | c8f10a31bd9da1fa0162164992cfdd0a668047c6 /test/ruby | |
parent | 8109114b18f76d8427f701c3705186632609be01 (diff) | |
download | ruby-b16f9112ed8b85552db2b04821f1ec338e07913e.tar.gz |
Fix arguments order of IO#pwrite
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index d6cbf205e9..ac7570a2b3 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3541,7 +3541,7 @@ __END__ def test_pwrite make_tempfile { |t| open(t.path, IO::RDWR) do |f| - assert_equal(3, f.pwrite(4, "ooo")) + assert_equal(3, f.pwrite("ooo", 4)) assert_equal("ooo", f.pread(3, 4)) end } |