summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJean byroot Boussier <jean.boussier+github@shopify.com>2023-02-06 23:30:00 +0100
committerJean Boussier <jean.boussier@gmail.com>2023-02-06 23:30:35 +0100
commitc19defd02665492de7147572714ebe692260c849 (patch)
treeabc68e28c4bc4c09e289ca85e09db8124b4ac8b7 /test/ruby
parentc30602e64ce437be86180590eee27b0b6ed83a16 (diff)
Revert "Only emit circular dependency warning for owned thread shields"
This reverts commit fa49651e05a06512e18ccb2f54a7198c9ff579de.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7256
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_require.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index e0cfc8c914..604ddf09d8 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -562,6 +562,9 @@ class TestRequire < Test::Unit::TestCase
assert_equal(true, (t1_res ^ t2_res), bug5754 + " t1:#{t1_res} t2:#{t2_res}")
assert_equal([:pre, :post], scratch, bug5754)
+
+ assert_match(/circular require/, output)
+ assert_match(/in #{__method__}'$/o, output)
}
ensure
$VERBOSE = verbose