mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@4ce9f41
This commit is contained in:
parent
267bed0cd9
commit
727c97da19
108 changed files with 1325 additions and 270 deletions
|
@ -6,15 +6,25 @@ ruby_version_is ''...'3.0' do
|
|||
|
||||
# See redmine #1667
|
||||
describe "IO#codepoints" do
|
||||
before :each do
|
||||
@verbose, $VERBOSE = $VERBOSE, nil
|
||||
end
|
||||
|
||||
after :each do
|
||||
$VERBOSE = @verbose
|
||||
end
|
||||
|
||||
it_behaves_like :io_codepoints, :codepoints
|
||||
end
|
||||
|
||||
describe "IO#codepoints" do
|
||||
before :each do
|
||||
@io = IOSpecs.io_fixture "lines.txt"
|
||||
@verbose, $VERBOSE = $VERBOSE, nil
|
||||
end
|
||||
|
||||
after :each do
|
||||
$VERBOSE = @verbose
|
||||
@io.close unless @io.closed?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue