Skip to content

Commit

Permalink
[GR-55296] Add comments for specs using strings in UTF-16 with not ev…
Browse files Browse the repository at this point in the history
…en bytes count

PullRequest: truffleruby/4444
  • Loading branch information
andrykonchin authored and eregon committed Jan 10, 2025
2 parents 02862fe + e601e2d commit 67ab7f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/tags/core/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slow:File.expand_path raises an Encoding::CompatibilityError if the external enc
slow:File.expand_path does not modify the string argument
slow:File.expand_path does not modify a HOME string argument
slow:File.expand_path returns a String when passed a String subclass
fails:File.expand_path raises an Encoding::CompatibilityError if the external encoding is not compatible
fails(force_encoding UTF-16 with possibly odd number of bytes):File.expand_path raises an Encoding::CompatibilityError if the external encoding is not compatible
2 changes: 1 addition & 1 deletion spec/tags/optional/capi/encoding_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ fails:C-API Encoding function rb_enc_get_index returns -1 for an object without
fails:C-API Encoding function rb_enc_set_index raises an ArgumentError for a non-encoding capable object
fails:C-API Encoding function ENCODING_SET raises an ArgumentError for a non-encoding capable object
slow:C-API Encoding function rb_define_dummy_encoding raises EncodingError if too many encodings
fails:C-API Encoding function rb_enc_strlen handles broken strings combines valid character and invalid character counts in UTF-16
fails(string in UTF-16 with odd number of bytes):C-API Encoding function rb_enc_strlen handles broken strings combines valid character and invalid character counts in UTF-16

0 comments on commit 67ab7f5

Please sign in to comment.