Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269429 Details for
Bug 340783
dev-ruby/fakefs fails tests with ruby 1.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fakefs-0.2.1-ruby19-r1.patch
fakefs-0.2.1-ruby19.patch (text/plain), 707 bytes, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2011-04-11 00:21:19 UTC
(
hide
)
Description:
fakefs-0.2.1-ruby19-r1.patch
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2011-04-11 00:21:19 UTC
Size:
707 bytes
patch
obsolete
>--- a/lib/fakefs/file.rb >+++ b/lib/fakefs/file.rb >@@ -1,3 +1,5 @@ >+require 'stringio' unless defined? StringIO >+ > module FakeFS > class File > PATH_SEPARATOR = '/' > >The following Rakefile change extracted from https://github.com/defunkt/fakefs/commit/82db05e85d1a486fbdb6: > >--- a/Rakefile >+++ b/Rakefile >@@ -1,2 +1,4 @@ >+$LOAD_PATH.unshift File.join(File.dirname(__FILE__)) >+ > desc "Run tests" > task :test do > >--- a/test/fakefs_test.rb >+++ b/test/fakefs_test.rb >@@ -288,7 +288,7 @@ > assert_nil File.size?("/path/to/other.txt") > end > >- def test_can_check_size?_of_empty_file >+ def test_can_check_size_of_empty_file > path = '/path/to/file.txt' > File.open(path, 'w') do |f| > f << ''
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 340783
:
250411
| 269429