IO#write sholud not really check if IO is writable if nothing to write (e.g. 
empty string)
------------------------------------------------------------------------------------------

                 Key: JRUBY-2045
                 URL: http://jira.codehaus.org/browse/JRUBY-2045
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC1
         Environment: Latest JRuby 1.1RC1
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov


Fix is coming.

Rubyspec failure on JRuby (not on MRI):

1)
IO#write on a file does not check if the file is writable if writing zero bytes 
FAILED
Expected to not get Exception :
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:17:in `should_not'
/opt/work/rubinius/./spec/ruby/1.8/core/io/write_spec.rb:29
/opt/work/rubinius/./spec/ruby/1.8/core/io/write_spec.rb:29:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/io/write_spec.rb:3
/opt/work/rubinius/./spec/ruby/1.8/core/io/write_spec.rb:3:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to