Skip to content

Instantly share code, notes, and snippets.

@mame
Created February 11, 2010 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mame/301491 to your computer and use it in GitHub Desktop.
Save mame/301491 to your computer and use it in GitHub Desktop.
rubyspec status on trunk (2010-02-11)
##### narse said (on IRC) this is a wrong spec (EUC-JP is correct result). I'll fix after narse's approval
1)
File#to_path does not preserve the encoding of the path FAILED
Expected #<Encoding:EUC-JP>
to equal #<Encoding:UTF-8>
/home/mame/work/ruby/spec/rubyspec/core/file/to_path_spec.rb:30:in `block (3 levels) in <top (required)>'
/home/mame/work/ruby/spec/rubyspec/core/file/to_path_spec.rb:4:in `block in <top (required)>'
/home/mame/work/ruby/spec/rubyspec/core/file/to_path_spec.rb:3:in `<top (required)>'
##### still no reply. It may take some time as the detail behavior of IO#reopen seems not to be considered. [ruby-dev:40387]
2)
IO#reopen reassociates self with a new stream after some reads FAILED
Expected "Line 3: Three\n"
to equal "Line 1: One\n"
/home/mame/work/ruby/spec/rubyspec/core/io/reopen_spec.rb:125:in `block (2 levels) in <top (required)>'
/home/mame/work/ruby/spec/rubyspec/core/io/reopen_spec.rb:4:in `<top (required)>'
#### nobu and ko1 recognized this is a bug. It might need reorganize the framework of finalizer. [ruby-dev:40394]
3)
ObjectSpace.define_finalizer doesn't call self-referencing finalizers FAILED
Expected "finalized"
not to equal "finalized"
/home/mame/work/ruby/spec/rubyspec/core/objectspace/define_finalizer_spec.rb:47:in `block (3 levels) in <top (required)>'
/home/mame/work/ruby/spec/rubyspec/core/objectspace/define_finalizer_spec.rb:8:in `<top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment