From ff64ee75a28d2c574d3b8b6907dd6bb6bc955fa9 Mon Sep 17 00:00:00 2001 From: Hiro Asari Date: Sun, 5 Sep 2010 16:37:01 -0400 Subject: [PATCH] With Tom's \u commit, we now run over 10K examples in 1.9 CI. --- .../encoding/converter/replacement_tags.txt | 1 + .../1.9/ruby/core/string/ascii_only_tags.txt | 6 -- .../1.9/ruby/core/string/bytesize_tags.txt | 4 - spec/tags/1.9/ruby/core/string/chars_tags.txt | 3 - spec/tags/1.9/ruby/core/string/chr_tags.txt | 1 - .../1.9/ruby/core/string/codepoints_tags.txt | 2 - spec/tags/1.9/ruby/core/string/dump_tags.txt | 1 - .../1.9/ruby/core/string/each_char_tags.txt | 3 - .../ruby/core/string/each_codepoint_tags.txt | 2 - .../tags/1.9/ruby/core/string/encode_tags.txt | 5 -- .../1.9/ruby/core/string/encoding_tags.txt | 2 - .../ruby/core/string/force_encoding_tags.txt | 2 - .../1.9/ruby/core/string/getbyte_tags.txt | 2 - spec/tags/1.9/ruby/core/string/ord_tags.txt | 1 - .../ruby/core/string/valid_encoding_tags.txt | 1 - .../regexp/character_classes_tags.txt | 80 +------------------ 16 files changed, 3 insertions(+), 113 deletions(-) delete mode 100644 spec/tags/1.9/ruby/core/string/ascii_only_tags.txt delete mode 100644 spec/tags/1.9/ruby/core/string/bytesize_tags.txt delete mode 100644 spec/tags/1.9/ruby/core/string/dump_tags.txt delete mode 100644 spec/tags/1.9/ruby/core/string/getbyte_tags.txt delete mode 100644 spec/tags/1.9/ruby/core/string/ord_tags.txt diff --git a/spec/tags/1.9/ruby/core/encoding/converter/replacement_tags.txt b/spec/tags/1.9/ruby/core/encoding/converter/replacement_tags.txt index 3ebad69a583..a9e76c57d2d 100644 --- a/spec/tags/1.9/ruby/core/encoding/converter/replacement_tags.txt +++ b/spec/tags/1.9/ruby/core/encoding/converter/replacement_tags.txt @@ -5,3 +5,4 @@ fails:Encoding::Converter#replacement= raises an TypeError if assigned a non-Str fails:Encoding::Converter#replacement= sets #replacement fails:Encoding::Converter#replacement= raises an UndefinedConversionError is the argument cannot be converted into the destination encoding fails:Encoding::Converter#replacement= does not change the replacement character if the argument cannot be converted into the destination encoding +fails:Encoding::Converter#replacement returns � when the destination encoding is UTF-8 diff --git a/spec/tags/1.9/ruby/core/string/ascii_only_tags.txt b/spec/tags/1.9/ruby/core/string/ascii_only_tags.txt deleted file mode 100644 index 1bbc3a264cf..00000000000 --- a/spec/tags/1.9/ruby/core/string/ascii_only_tags.txt +++ /dev/null @@ -1,6 +0,0 @@ -fails:String#ascii_only? returns false if the String contains only non-US-ASCII characters -fails:"String#ascii_only? returns false if the String contains only non-US-ASCII characters\n and is encoded as UTF-8" -fails:"String#ascii_only? returns false if the String contains only non-ASCII characters\n and is encoded as US-ASCII" -fails:String#ascii_only? returns false if the String contains US-ASCII and non-US-ASCII characters -fails:"String#ascii_only? returns false if the String contains US-ASCII and non-US-ASCII characters\n and is encoded as US-ASCII" -fails:"String#ascii_only? returns false if the String contains US-ASCII and non-US-ASCII characters\n and is encoded as UTF-8" diff --git a/spec/tags/1.9/ruby/core/string/bytesize_tags.txt b/spec/tags/1.9/ruby/core/string/bytesize_tags.txt deleted file mode 100644 index 7936ecd8950..00000000000 --- a/spec/tags/1.9/ruby/core/string/bytesize_tags.txt +++ /dev/null @@ -1,4 +0,0 @@ -fails:#String#bytesize works with strings containing single UTF-8 characters -fails:#String#bytesize works with pseudo-ASCII strings containing single UTF-8 characters -fails:#String#bytesize works with strings containing UTF-8 characters -fails:#String#bytesize works with pseudo-ASCII strings containing UTF-8 characters diff --git a/spec/tags/1.9/ruby/core/string/chars_tags.txt b/spec/tags/1.9/ruby/core/string/chars_tags.txt index 57e5beee5a4..882a38c8772 100644 --- a/spec/tags/1.9/ruby/core/string/chars_tags.txt +++ b/spec/tags/1.9/ruby/core/string/chars_tags.txt @@ -1,4 +1 @@ fails:String#chars is unicode aware -fails:String#chars works with multibyte characters -fails:String#chars returns a different character if the String is transcoded -fails:String#chars uses the String's encoding to determine what characters it contains diff --git a/spec/tags/1.9/ruby/core/string/chr_tags.txt b/spec/tags/1.9/ruby/core/string/chr_tags.txt index db684e20fbb..e8118783cba 100644 --- a/spec/tags/1.9/ruby/core/string/chr_tags.txt +++ b/spec/tags/1.9/ruby/core/string/chr_tags.txt @@ -1,2 +1 @@ -fails:String#chr understands multi-byte characters fails:String#chr understands Strings that contain a mixture of character widths diff --git a/spec/tags/1.9/ruby/core/string/codepoints_tags.txt b/spec/tags/1.9/ruby/core/string/codepoints_tags.txt index c86811726fc..570c918b1b6 100644 --- a/spec/tags/1.9/ruby/core/string/codepoints_tags.txt +++ b/spec/tags/1.9/ruby/core/string/codepoints_tags.txt @@ -1,3 +1 @@ -fails:String#codepoints works for multibyte characters -fails:String#codepoints returns the codepoint corresponding to the character's position in the String's encoding fails:String#codepoints round-trips to the original String using Integer#chr diff --git a/spec/tags/1.9/ruby/core/string/dump_tags.txt b/spec/tags/1.9/ruby/core/string/dump_tags.txt deleted file mode 100644 index be369675de1..00000000000 --- a/spec/tags/1.9/ruby/core/string/dump_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:String#dump includes .force_encoding(name) if the encoding isn't ASCII compatiable diff --git a/spec/tags/1.9/ruby/core/string/each_char_tags.txt b/spec/tags/1.9/ruby/core/string/each_char_tags.txt index 14acf4da416..44650905994 100644 --- a/spec/tags/1.9/ruby/core/string/each_char_tags.txt +++ b/spec/tags/1.9/ruby/core/string/each_char_tags.txt @@ -1,4 +1 @@ fails:String#each_char is unicode aware -fails:String#each_char works with multibyte characters -fails:String#each_char returns a different character if the String is transcoded -fails:String#each_char uses the String's encoding to determine what characters it contains diff --git a/spec/tags/1.9/ruby/core/string/each_codepoint_tags.txt b/spec/tags/1.9/ruby/core/string/each_codepoint_tags.txt index afd78d20f10..8b0b98f8ba7 100644 --- a/spec/tags/1.9/ruby/core/string/each_codepoint_tags.txt +++ b/spec/tags/1.9/ruby/core/string/each_codepoint_tags.txt @@ -1,3 +1 @@ -fails:String#each_codepoint works for multibyte characters -fails:String#each_codepoint returns the codepoint corresponding to the character's position in the String's encoding fails:String#each_codepoint round-trips to the original String using Integer#chr diff --git a/spec/tags/1.9/ruby/core/string/encode_tags.txt b/spec/tags/1.9/ruby/core/string/encode_tags.txt index 0ad94c6467f..a3ef4d18ce4 100644 --- a/spec/tags/1.9/ruby/core/string/encode_tags.txt +++ b/spec/tags/1.9/ruby/core/string/encode_tags.txt @@ -1,18 +1,13 @@ fails:String#encode transcodes to the default internal encoding with no argument -fails:String#encode transcodes self to the given encoding fails:String#encode raises UndefinedConversionError if the String contains characters invalid for the target encoding fails:String#encode replaces invalid characters -fails:String#encode replaces undefined characters fails:String#encode replaces xml characters fails:String#encode replaces xml characters and quotes the result -fails:String#encode returns a copy of self when called with only a target encoding fails:String#encode returns self when called with only a target encoding fails:String#encode returns a String with the given encoding fails:String#encode! transcodes to the default internal encoding with no argument -fails:String#encode! transcodes self to the given encoding fails:String#encode! raises UndefinedConversionError if the String contains characters invalid for the target encoding fails:String#encode! replaces invalid characters -fails:String#encode! replaces undefined characters fails:String#encode! replaces xml characters fails:String#encode! replaces xml characters and quotes the result fails:String#encode! tags the String with the given encoding diff --git a/spec/tags/1.9/ruby/core/string/encoding_tags.txt b/spec/tags/1.9/ruby/core/string/encoding_tags.txt index 3123262826d..311eedf7eff 100644 --- a/spec/tags/1.9/ruby/core/string/encoding_tags.txt +++ b/spec/tags/1.9/ruby/core/string/encoding_tags.txt @@ -3,9 +3,7 @@ fails:String#encoding for US-ASCII Strings returns US-ASCII if self is US-ASCII fails:String#encoding for US-ASCII Strings returns US-ASCII if self is US-ASCII only, despite the default external encoding being different fails:String#encoding for US-ASCII Strings returns US-ASCII if self is US-ASCII only, despite the default internal and external encodings being different fails:String#encoding for US-ASCII Strings returns US-ASCII if self is US-ASCII only, despite the default encodings being different -fails:String#encoding for Strings with \u escapes returns UTF-8 fails:String#encoding for Strings with \u escapes returns US-ASCII if self is US-ASCII only -fails:String#encoding for Strings with \u escapes returns UTF-8 if self isn't US-ASCII only fails:String#encoding for Strings with \u escapes is not affected by the default internal encoding fails:String#encoding for Strings with \u escapes is not affected by the default external encoding fails:String#encoding for Strings with \u escapes is not affected by both the default internal and external encoding being set at the same time diff --git a/spec/tags/1.9/ruby/core/string/force_encoding_tags.txt b/spec/tags/1.9/ruby/core/string/force_encoding_tags.txt index 122e1eafb5d..4bbe13ce976 100644 --- a/spec/tags/1.9/ruby/core/string/force_encoding_tags.txt +++ b/spec/tags/1.9/ruby/core/string/force_encoding_tags.txt @@ -1,3 +1 @@ fails:String#force_encoding tags the String with the given encoding -fails:String#force_encoding does not care if self would be invalid in given encoding -fails:String#force_encoding does not care if self is already tagged with the given encoding diff --git a/spec/tags/1.9/ruby/core/string/getbyte_tags.txt b/spec/tags/1.9/ruby/core/string/getbyte_tags.txt deleted file mode 100644 index b233ff1982d..00000000000 --- a/spec/tags/1.9/ruby/core/string/getbyte_tags.txt +++ /dev/null @@ -1,2 +0,0 @@ -fails:String#getbyte regards a multi-byte character as having multiple bytes -fails:String#getbyte interprets bytes relative to the String's encoding diff --git a/spec/tags/1.9/ruby/core/string/ord_tags.txt b/spec/tags/1.9/ruby/core/string/ord_tags.txt deleted file mode 100644 index 14cfd3c6e89..00000000000 --- a/spec/tags/1.9/ruby/core/string/ord_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:String#ord understands multibyte characters diff --git a/spec/tags/1.9/ruby/core/string/valid_encoding_tags.txt b/spec/tags/1.9/ruby/core/string/valid_encoding_tags.txt index 9c3638d541f..8427de9ec03 100644 --- a/spec/tags/1.9/ruby/core/string/valid_encoding_tags.txt +++ b/spec/tags/1.9/ruby/core/string/valid_encoding_tags.txt @@ -1,2 +1 @@ fails:String#valid_encoding? returns true for all encodings self is valid in -fails:String#valid_encoding? returns false if self is valid in one encoding, but invalid in the one it's tagged with diff --git a/spec/tags/1.9/ruby/language/regexp/character_classes_tags.txt b/spec/tags/1.9/ruby/language/regexp/character_classes_tags.txt index 59f5a48022f..da6fc1b6d1d 100644 --- a/spec/tags/1.9/ruby/language/regexp/character_classes_tags.txt +++ b/spec/tags/1.9/ruby/language/regexp/character_classes_tags.txt @@ -1,91 +1,15 @@ fails:Regexp with character classes matches Unicode letter characters with [[:alnum:]] -fails:Regexp with character classes matches Unicode digits with [[:alnum:]] fails:Regexp with character classes matches Unicode marks with [[:alnum:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:alnum:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:alnum:]] fails:Regexp with character classes matches Unicode letter characters with [[:alpha:]] -fails:Regexp with character classes doesn't match Unicode digits with [[:alpha:]] fails:Regexp with character classes matches Unicode marks with [[:alpha:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:alpha:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:alpha:]] -fails:Regexp with character classes matches Unicode space characters with [[:blank:]] -fails:Regexp with character classes matches Unicode control characters with [[:cntrl:]] -fails:Regexp with character classes matches Unicode digits with [[:digit:]] -fails:Regexp with character classes doesn't match Unicode marks with [[:digit:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:digit:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:digit:]] -fails:Regexp with character classes doesn't match Unicode format characters with [[:digit:]] -fails:Regexp with character classes doesn't match Unicode private-use characters with [[:digit:]] fails:Regexp with character classes matches Unicode letter characters with [[:graph:]] -fails:Regexp with character classes matches Unicode digits with [[:graph:]] -fails:Regexp with character classes matches Unicode marks with [[:graph:]] -fails:Regexp with character classes matches Unicode punctuation characters with [[:graph:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:graph:]] fails:Regexp with character classes doesn't match Unicode format characters with [[:graph:]] fails:Regexp with character classes doesn't match 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 uppercase letter characters with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode title-case characters with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode digits with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode marks with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode format characters with [[:lower:]] -fails:Regexp with character classes doesn't match Unicode private-use characters 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 marks with [[:print:]] -fails:Regexp with character classes matches Unicode punctuation characters with [[:print:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:print:]] fails:Regexp with character classes doesn't match Unicode format characters with [[:print:]] fails:Regexp with character classes doesn't match Unicode private-use characters with [[:print:]] -fails:Regexp with character classes doesn't match Unicode lowercase letter characters with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode uppercase letter characters with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode title-case characters with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode digits with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode marks with [[:punct:]] -fails:Regexp with character classes matches Unicode Pc characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Pd characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Ps characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Pe characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Pi characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Pf characters with [[:punct:]] -fails:Regexp with character classes matches Unicode Po characters with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode format characters with [[:punct:]] -fails:Regexp with character classes doesn't match Unicode private-use 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 doesn't match Unicode title-case characters with [[:upper:]] -fails:Regexp with character classes doesn't match Unicode digits with [[:upper:]] -fails:Regexp with character classes doesn't match Unicode marks with [[:upper:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:upper:]] -fails:Regexp with character classes doesn't match Unicode private-use characters with [[:upper:]] -fails:Regexp with character classes doesn't match Unicode digits [^0-9] with [[:xdigit:]] -fails:Regexp with character classes doesn't match Unicode marks with [[:xdigit:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:xdigit:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:xdigit:]] -fails:Regexp with character classes doesn't match Unicode format characters with [[:xdigit:]] -fails:Regexp with character classes doesn't match Unicode private-use characters with [[:xdigit:]] -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 matches Unicode marks with [[:word:]] fails:Regexp with character classes doesn't match Unicode Nl characters with [[:word:]] fails:Regexp with character classes doesn't match Unicode No characters with [[:word:]] -fails:Regexp with character classes doesn't match Unicode punctuation characters with [[:word:]] -fails:Regexp with character classes doesn't match Unicode control characters with [[:word:]] -fails:Regexp with character classes doesn't match Unicode format characters with [[:word:]] -fails:Regexp with character classes doesn't match Unicode private-use characters with [[:word:]] fails:Regexp with character classes doesn't matches Unicode marks with [[:alnum:]] fails:Regexp with character classes doesn't matches Unicode marks with [[:alpha:]] -fails:Regexp with character classes match Unicode format characters with [[:graph:]] -fails:Regexp with character classes match Unicode private-use characters with [[:graph:]] -fails:Regexp with character classes match Unicode format characters with [[:print:]] -fails:Regexp with character classes match Unicode private-use characters with [[:print:]] -fails:Regexp with character classes match Unicode Nl characters with [[:word:]] +fails:Regexp with character classes doesn't match Unicode format characters with [[:cntrl:]] +fails:Regexp with character classes doesn't match Unicode private-use characters with [[:cntrl:]]