diff options
Diffstat (limited to 'activesupport/test/testing/constant_lookup_test.rb')
-rw-r--r-- | activesupport/test/testing/constant_lookup_test.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/activesupport/test/testing/constant_lookup_test.rb b/activesupport/test/testing/constant_lookup_test.rb index 0f16419c8b..37b7822950 100644 --- a/activesupport/test/testing/constant_lookup_test.rb +++ b/activesupport/test/testing/constant_lookup_test.rb @@ -1,5 +1,7 @@ -require 'abstract_unit' -require 'dependencies_test_helpers' +# frozen_string_literal: true + +require "abstract_unit" +require "dependencies_test_helpers" class Foo; end class Bar < Foo @@ -69,7 +71,7 @@ class ConstantLookupTest < ActiveSupport::TestCase def test_does_not_swallow_exception_on_no_name_error_within_constant assert_raises(NameError) do with_autoloading_fixtures do - self.class.determine_constant_from_test_name('RaisesNameError') + self.class.determine_constant_from_test_name("RaisesNameError") end end end |