[前][次][番号順一覧][スレッド一覧]

ruby-changes:65412

From: Hiroshi <ko1@a...>
Date: Mon, 8 Mar 2021 10:03:24 +0900 (JST)
Subject: [ruby-changes:65412] c3c1800708 (master): Prefer to use omit

https://git.ruby-lang.org/ruby.git/commit/?id=c3c1800708

From c3c18007086df2b126f25483d82d72adafb2da7e Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 17 Feb 2021 12:20:11 +0900
Subject: Prefer to use omit

---
 test/stringio/test_stringio.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index a493261..036e374 100644
--- a/test/stringio/test_stringio.rb
+++ b/test/stringio/test_stringio.rb
@@ -798,7 +798,7 @@ class TestStringIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/stringio/test_stringio.rb#L798
   end
 
   def test_overflow
-    skip if RbConfig::SIZEOF["void*"] > RbConfig::SIZEOF["long"]
+    omit if RbConfig::SIZEOF["void*"] > RbConfig::SIZEOF["long"]
     limit = RbConfig::LIMITS["INTPTR_MAX"] - 0x10
     assert_separately(%w[-rstringio], "#{<<-"begin;"}\n#{<<-"end;"}")
     begin;
@@ -808,7 +808,7 @@ class TestStringIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/stringio/test_stringio.rb#L808
         x = "a"*0x100000
         break if [x].pack("p").unpack("i!")[0] < 0
         ary << x
-        skip if ary.size > 100
+        omit if ary.size > 100
       end
       s = StringIO.new(x)
       s.gets("xxx", limit)
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]