StringScanner#getch should always return Strings, never String subclasses -------------------------------------------------------------------------
Key: JRUBY-4648 URL: http://jira.codehaus.org/browse/JRUBY-4648 Project: JRuby Issue Type: Bug Components: Core Classes/Modules, Intro, RubySpec Affects Versions: JRuby 1.4 Reporter: Vladimir Sizikov RubySpec failure: {noformat} StringScanner#getch always returns instance of String, never a String subclass FAILED Expected "a" (#<Class:01x1b4299e>) not to be kind of #<Class:01x1b4299e> /opt/work/rubyspec.git/library/stringscanner/getch_spec.rb:48 /opt/work/rubyspec.git/library/stringscanner/getch_spec.rb:4 /opt/work/rubyspec.git/library/stringscanner/getch_spec.rb:56:in `load' /opt/work/mspec.git/bin/mspec-ci:8 {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