[macruby-changes] [3767] MacRuby/trunk/spec/frozen
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 15 19:04:21 PDT 2010
Revision: 3767
http://trac.macosforge.org/projects/ruby/changeset/3767
Author: lsansonetti at apple.com
Date: 2010-03-15 19:04:20 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
marking specs as not compliant, untagging passing specs
Modified Paths:
--------------
MacRuby/trunk/spec/frozen/language/regexp/character_classes_spec.rb
MacRuby/trunk/spec/frozen/language/regexp/versions/character_classes_1.9.rb
MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
Modified: MacRuby/trunk/spec/frozen/language/regexp/character_classes_spec.rb
===================================================================
--- MacRuby/trunk/spec/frozen/language/regexp/character_classes_spec.rb 2010-03-16 02:03:57 UTC (rev 3766)
+++ MacRuby/trunk/spec/frozen/language/regexp/character_classes_spec.rb 2010-03-16 02:04:20 UTC (rev 3767)
@@ -66,7 +66,9 @@
it 'supports [] (character class)' do
/[a-z]+/.match("fooBAR").to_a.should == ["foo"]
- /[\b]/.match("\b").to_a.should == ["\b"] # \b inside character class is backspace
+ not_compliant_on :macruby do
+ /[\b]/.match("\b").to_a.should == ["\b"] # \b inside character class is backspace
+ end
end
it 'supports [[:alpha:][:digit:][:etc:]] (predefined character classes)' do
@@ -86,9 +88,13 @@
# Parsing
/[[:lower:][:digit:]A-C]+/.match("a1ABCDEF").to_a.should == ["a1ABC"] # can be composed with other constructs in the character class
/[^[:lower:]A-C]+/.match("abcABCDEF123def").to_a.should == ["DEF123"] # negated character class
- /[:alnum:]+/.match("a:l:n:u:m").to_a.should == ["a:l:n:u:m"] # should behave like regular character class composed of the individual letters
+ not_compliant_on :macruby do
+ /[:alnum:]+/.match("a:l:n:u:m").to_a.should == ["a:l:n:u:m"] # should behave like regular character class composed of the individual letters
+ end
/[\[:alnum:]+/.match("[:a:l:n:u:m").to_a.should == ["[:a:l:n:u:m"] # should behave like regular character class composed of the individual letters
- lambda { eval('/[[:alpha:]-[:digit:]]/') }.should raise_error(SyntaxError) # can't use character class as a start value of range
+ not_compliant_on :macruby do
+ lambda { eval('/[[:alpha:]-[:digit:]]/') }.should raise_error(SyntaxError) # can't use character class as a start value of range
+ end
end
language_version __FILE__, "character_classes"
Modified: MacRuby/trunk/spec/frozen/language/regexp/versions/character_classes_1.9.rb
===================================================================
--- MacRuby/trunk/spec/frozen/language/regexp/versions/character_classes_1.9.rb 2010-03-16 02:03:57 UTC (rev 3766)
+++ MacRuby/trunk/spec/frozen/language/regexp/versions/character_classes_1.9.rb 2010-03-16 02:04:20 UTC (rev 3767)
@@ -22,8 +22,11 @@
"\u{0660}".match(/[[:alnum:]]/).to_a.should == ["\u{0660}"]
end
-it "matches Unicode marks with [[:alnum:]]" do
- "\u{36F}".match(/[[:alnum:]]/).to_a.should == ["\u{36F}"]
+not_compliant_on :macruby do
+ # And also 1.9.2...
+ it "matches Unicode marks with [[:alnum:]]" do
+ "\u{36F}".match(/[[:alnum:]]/).to_a.should == ["\u{36F}"]
+ end
end
it "doesn't match Unicode control characters with [[:alnum:]]" do
@@ -42,8 +45,11 @@
"\u{0660}".match(/[[:alpha:]]/).to_a.should == []
end
-it "matches Unicode marks with [[:alpha:]]" do
- "\u{36F}".match(/[[:alpha:]]/).to_a.should == ["\u{36F}"]
+not_compliant_on :macruby do
+ # And also 1.9.2...
+ it "matches Unicode marks with [[:alpha:]]" do
+ "\u{36F}".match(/[[:alpha:]]/).to_a.should == ["\u{36F}"]
+ end
end
it "doesn't match Unicode control characters with [[:alpha:]]" do
@@ -161,12 +167,17 @@
"\u{16}".match(/[[:graph:]]/).should be_nil
end
-it "doesn't match Unicode format characters with [[:graph:]]" do
- "\u{2060}".match(/[[:graph:]]/).should be_nil
+not_compliant_on :macruby do
+ it "doesn't match Unicode format characters with [[:graph:]]" do
+ "\u{2060}".match(/[[:graph:]]/).should be_nil
+ end
end
-it "doesn't match Unicode private-use characters with [[:graph:]]" do
- "\u{E001}".match(/[[:graph:]]/).should be_nil
+not_compliant_on :macruby do
+ # And also 1.9.2...
+ it "doesn't match Unicode private-use characters with [[:graph:]]" do
+ "\u{E001}".match(/[[:graph:]]/).should be_nil
+ end
end
it "matches Unicode lowercase letter characters with [[:lower:]]" do
@@ -247,15 +258,19 @@
"\u{16}".match(/[[:print:]]/).should be_nil
end
-it "doesn't match Unicode format characters with [[:print:]]" do
- "\u{2060}".match(/[[:print:]]/).should be_nil
+not_compliant_on :macruby do
+ it "doesn't match Unicode format characters with [[:print:]]" do
+ "\u{2060}".match(/[[:print:]]/).should be_nil
+ end
end
-it "doesn't match Unicode private-use characters with [[:print:]]" do
- "\u{E001}".match(/[[:print:]]/).should be_nil
+not_compliant_on :macruby do
+ # And 1.9.2...
+ it "doesn't match Unicode private-use characters with [[:print:]]" do
+ "\u{E001}".match(/[[:print:]]/).should be_nil
+ end
end
-
it "doesn't match Unicode lowercase letter characters with [[:punct:]]" do
"\u{FF41}".match(/[[:punct:]]/).should be_nil
"\u{1D484}".match(/[[:punct:]]/).should be_nil
@@ -424,9 +439,11 @@
"F".match(/[[:xdigit:]]/).to_a.should == ["F"]
end
-it "doesn't match Unicode digits [^0-9] with [[:xdigit:]]" do
- "\u{0660}".match(/[[:xdigit:]]/).should be_nil
- "\u{FF12}".match(/[[:xdigit:]]/).should be_nil
+not_compliant_on :macruby do
+ it "doesn't match Unicode digits [^0-9] with [[:xdigit:]]" do
+ "\u{0660}".match(/[[:xdigit:]]/).should be_nil
+ "\u{FF12}".match(/[[:xdigit:]]/).should be_nil
+ end
end
it "doesn't match Unicode marks with [[:xdigit:]]" do
@@ -476,8 +493,11 @@
"\u{36F}".match(/[[:word:]]/).to_a.should == ["\u{36F}"]
end
-it "doesn't match Unicode Nl characters with [[:word:]]" do
- "\u{16EE}".match(/[[:word:]]/).should be_nil
+not_compliant_on :macruby do
+ # And 1.9.2...
+ it "doesn't match Unicode Nl characters with [[:word:]]" do
+ "\u{16EE}".match(/[[:word:]]/).should be_nil
+ end
end
it "doesn't match Unicode No characters with [[:word:]]" do
Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt 2010-03-16 02:03:57 UTC (rev 3766)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt 2010-03-16 02:04:20 UTC (rev 3767)
@@ -1,36 +1,9 @@
-fails:Regexp with character classes matches Unicode digits with [[:alnum:]]
-fails:Regexp with character classes matches Unicode space characters with [[:blank:]]
-fails:Regexp with character classes matches Unicode format characters with [[:cntrl:]]
-fails:Regexp with character classes matches Unicode digits with [[:digit:]]
-fails:Regexp with character classes matches Unicode digits with [[:graph:]]
-fails:Regexp with character classes matches Unicode private-use characters with [[:graph:]]
-fails:Regexp with character classes matches Unicode lowercase letter characters with [[:lower:]]
-fails:Regexp with character classes doesn't match Unicode marks with [[:lower:]]
-fails:Regexp with character classes matches Unicode lowercase letter characters with [[:print:]]
-fails:Regexp with character classes matches Unicode uppercase letter characters with [[:print:]]
-fails:Regexp with character classes matches Unicode title-case characters with [[:print:]]
-fails:Regexp with character classes matches Unicode digits with [[:print:]]
-fails:Regexp with character classes matches Unicode private-use characters with [[:print:]]
-fails:Regexp with character classes doesn't match Unicode digits with [[:punct:]]
-fails:Regexp with character classes matches Unicode Pd characters with [[:punct:]]
-fails:Regexp with character classes matches Unicode Pe characters with [[:punct:]]
-fails:Regexp with character classes doesn't match Unicode format characters with [[:punct:]]
-fails:Regexp with character classes matches Unicode Zs characters with [[:space:]]
-fails:Regexp with character classes matches Unicode Zl characters with [[:space:]]
-fails:Regexp with character classes matches Unicode Zp characters with [[:space:]]
-fails:Regexp with character classes doesn't match Unicode lowercase characters with [[:upper:]]
-fails:Regexp with character classes matches Unicode uppercase characters with [[:upper:]]
-fails:Regexp with character classes matches Unicode lowercase characters with [[:word:]]
-fails:Regexp with character classes matches Unicode uppercase characters with [[:word:]]
-fails:Regexp with character classes matches Unicode title-case characters with [[:word:]]
-fails:Regexp with character classes matches Unicode decimal digits with [[:word:]]
-fails:Regexp with character classes doesn't match Unicode private-use characters with [[:cntrl:]]
-fails:Regexp with character classes doesn't match Unicode format characters with [[:graph:]]
-fails:Regexp with character classes doesn't match Unicode format characters with [[:print:]]
-fails:Regexp with character classes doesn't match Unicode No characters with [[:word:]]
-fails:Regexp with character classes matches Unicode Pf characters with [[:punct:]]
-fails:Regexp with character classes matches Unicode letter characters with [[:alnum:]]
-fails:Regexp with character classes matches Unicode letter characters with [[:alpha:]]
-fails:Regexp with character classes matches Unicode letter characters with [[:graph:]]
-fails:Regexp with character classes matches Unicode Pi characters with [[:punct:]]
-fails:Regexp with character classes matches Unicode Po characters with [[:punct:]]
+#fails:Regexp with character classes matches Unicode digits with [[:alnum:]]
+#fails:Regexp with character classes matches Unicode space characters with [[:blank:]]
+#fails:Regexp with character classes matches Unicode format characters with [[:cntrl:]]
+#fails:Regexp with character classes matches Unicode digits with [[:digit:]]
+#fails:Regexp with character classes matches Unicode digits with [[:graph:]]
+#fails:Regexp with character classes matches Unicode private-use characters with [[:graph:]]
+critical:Regexp with character classes matches Unicode lowercase letter characters with [[:lower:]]
+critical:Regexp with character classes matches Unicode lowercase letter characters with [[:print:]]
+critical:Regexp with character classes matches Unicode lowercase characters with [[:word:]]
Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt 2010-03-16 02:03:57 UTC (rev 3766)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt 2010-03-16 02:04:20 UTC (rev 3767)
@@ -1,6 +1,7 @@
-fails:Regexps with encoding modifiers supports /n (Normal encoding)
+fails:Regexps with encoding modifiers supports /e (EUC encoding)
+fails:Regexps with encoding modifiers supports /e (EUC encoding) with interpolation
+fails:Regexps with encoding modifiers supports /e (EUC encoding) with interpolation /o
fails:Regexps with encoding modifiers supports /s (Windows_31J encoding)
-fails:Regexps with encoding modifiers supports /n (No encoding)
fails:Regexps with encoding modifiers supports /n (No encoding) with interpolation
fails:Regexps with encoding modifiers supports /n (No encoding) with interpolation /o
fails:Regexps with encoding modifiers supports /s (Windows_31J encoding) with interpolation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100315/b4405d80/attachment-0001.html>
More information about the macruby-changes
mailing list