[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67907] Re: Regex :blank: behavior changed with Ruby 2.2

From: Anthony Crumley <anthony.crumley@...>
Date: 2015-01-30 13:59:55 UTC
List: ruby-core #67907
Changed the RubySpec to match current behavior of Regexp POSIX expression
:blank:.

https://github.com/anthonycrumley/rubyspec/commit/4f39e4411d268cafcff1c0480=
af53af73a87e59e


On Thu Jan 29 2015 at 7:58:52 AM Anthony Crumley <anthony.crumley@gmail.com=
>
wrote:

> The following RubySpec is passing on 2.0 and 2.1 but failing on 2.2 and
> 2.3.  Is this new behavior correct or should a bug be reported?
>
>
> https://github.com/anthonycrumley/rubyspec/blob/master/language/regexp/ch=
aracter_classes_spec.rb#L145
>
> 1)
> Regexp with character classes matches Unicode space characters with
> [[:blank:]] FAILED
> Expected []
>  to equal ["=E1=A0=8E"]
>
> /vagrant/spec/rubyspec/language/regexp/character_classes_spec.rb:145:in
> `block (2 levels) in <top (required)>'
> /vagrant/spec/rubyspec/language/regexp/character_classes_spec.rb:4:in
> `<top (required)>'
>
>

In This Thread

Prev Next