summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCosmicOppai <[email protected]>2024-10-14 16:24:21 +0530
committergit <[email protected]>2024-12-03 06:49:54 +0000
commit0839eae2d362b70d1b36b939b7ad6aa809a618a9 (patch)
treebd17b225787faa429c9d29dd5dd108171829d954 /test
parent0f2cd39e680c9b15ddd94d34770a8a17d0c5a0ae (diff)
[ruby/timeout] refactor the change to keep the compatability with nil and type-errror and added tests
https://github.com/ruby/timeout/commit/e8a7dbdb87
Diffstat (limited to 'test')
-rw-r--r--test/test_timeout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_timeout.rb b/test/test_timeout.rb
index 888489f430..d6c1a1f9d0 100644
--- a/test/test_timeout.rb
+++ b/test/test_timeout.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: false
require 'test/unit'
-require_relative '../lib/timeout'
+require 'timeout'
class TestTimeout < Test::Unit::TestCase