From afae7f954779a6560bc3d495c0734f62007eae75 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Fri, 15 Dec 2017 09:37:38 -0500 Subject: [PATCH] Revert "Fix test for change to circular loading message" This reverts commit 97bc205ce148061a2a2877f3f56eac53c6ab927f. 44103bc was reverted in a33e934 so this test no longer passes. --- activesupport/test/dependencies_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb index 60e0aca17642f..e38d4e83e5825 100644 --- a/activesupport/test/dependencies_test.rb +++ b/activesupport/test/dependencies_test.rb @@ -154,7 +154,7 @@ def test_mutual_dependencies_dont_infinite_loop def test_circular_autoloading_detection with_autoloading_fixtures do e = assert_raise(RuntimeError) { Circular1 } - assert_match /Circular dependency detected while autoloading constant Circular1. Loading list:/, e.message + assert_equal "Circular dependency detected while autoloading constant Circular1", e.message end end