Skip to content

Commit

Permalink
Exclude remaining StringIO failures for now
Browse files Browse the repository at this point in the history
Will investigate these in the gem repo and get everything working.
  • Loading branch information
headius committed Nov 9, 2024
1 parent a241e98 commit 8b3b9a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/tags/ruby/library/stringio/reopen_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fails:StringIO#reopen when passed [Object, Integer] reopens self with the passed Object in the passed mode
fails:StringIO#reopen when passed [Object, Integer] raises a FrozenError when trying to reopen self with a frozen String in truncate-mode
fails:StringIO#reopen when passed [Object, Integer] does not raise IOError when passed a frozen String in read-mode
fails:StringIO#reopen when passed [Object, Object] reopens self with the passed Object in the passed mode
fails:StringIO#reopen when passed [Object, Object] tries to convert the passed mode Object to an Integer using #to_str
fails:StringIO#reopen when passed [Object, Object] does not raise IOError if a frozen string is passed in read mode
fails:StringIO#reopen reopens a stream when given a String argument
3 changes: 3 additions & 0 deletions test/mri/excludes/TestStringIO.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
exclude :test_each, "needs investigation"
exclude :test_gets_chomp, "needs investigation"
exclude :test_gets_chomp_eol, "needs investigation"
exclude :test_overflow, "unusual subprocess test trying to overflow some value"
exclude :test_read_nonblock_no_exceptions, "temporary until StringIO ext does manual arity-checking (ruby/stringio#48)"
exclude :test_write_integer_overflow, "JVM does not support > 32bit signed array offsets, so our StringIO cannot either"

0 comments on commit 8b3b9a0

Please sign in to comment.