[ruby/timeout] refactor the change to keep the compatability with nil and type-errror and added tests

https://github.com/ruby/timeout/commit/e8a7dbdb87
This commit is contained in:
CosmicOppai 2024-10-14 16:24:21 +05:30 committed by git
parent 0f2cd39e68
commit 0839eae2d3

View File

@ -1,6 +1,6 @@
# frozen_string_literal: false # frozen_string_literal: false
require 'test/unit' require 'test/unit'
require_relative '../lib/timeout' require 'timeout'
class TestTimeout < Test::Unit::TestCase class TestTimeout < Test::Unit::TestCase