7 rubyspecs failures for $~ due to recent changes
-------------------------------------------------
Key: JRUBY-2104
URL: http://jira.codehaus.org/browse/JRUBY-2104
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Environment: Latest JRuby 1.1RC1
Reporter: Vladimir Sizikov
Assignee: Marcin Mielzynski
Fix For: JRuby 1.1RC2
After recent $~ -related changes in JRuby, we now fail 7 rubyspecs:
{noformat}
1)
String#[] with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:414
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:414: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/string/shared/slice.rb:395
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:395:in `[]'
./mspec/runner/shared.rb:8:in `it_behaves_like'
/opt/work/rubinius/./spec/ruby/1.8/core/string/element_reference_spec.rb:6
/opt/work/rubinius/./spec/ruby/1.8/core/string/element_reference_spec.rb:5:in
`call'
./mspec/runner/runner.rb:127:in `describe'
./mspec/runner/object.rb:11:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/string/element_reference_spec.rb:5
/opt/work/rubinius/./spec/ruby/1.8/core/string/element_reference_spec.rb:5:in
`load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
2)
String#index with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/index_spec.rb:138
/opt/work/rubinius/./spec/ruby/1.8/core/string/index_spec.rb:138: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/string/index_spec.rb:103
/opt/work/rubinius/./spec/ruby/1.8/core/string/index_spec.rb:103:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
3)
String#rindex with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/rindex_spec.rb:176
/opt/work/rubinius/./spec/ruby/1.8/core/string/rindex_spec.rb:176: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/string/rindex_spec.rb:128
/opt/work/rubinius/./spec/ruby/1.8/core/string/rindex_spec.rb:128:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
4)
String#slice with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:414
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:414: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/string/shared/slice.rb:395
/opt/work/rubinius/./spec/ruby/1.8/core/string/shared/slice.rb:395:in `[]'
./mspec/runner/shared.rb:8:in `it_behaves_like'
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:6
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:5:in `call'
./mspec/runner/runner.rb:127:in `describe'
./mspec/runner/object.rb:11:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:5
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:5:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
5)
String#slice! with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:404
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:404: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/string/slice_spec.rb:382
/opt/work/rubinius/./spec/ruby/1.8/core/string/slice_spec.rb:382:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
6)
String#split with String doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:108
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:108: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/string/split_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
7)
String#split with Regexp doesn't set $~ ERROR
wrong argument type NilClass (expected MatchData):
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:253
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:253: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/string/split_spec.rb:147
/opt/work/rubinius/./spec/ruby/1.8/core/string/split_spec.rb:147:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44
Finished in 16.910000 seconds
{noformat}
--
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