aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/hash
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/hash')
-rw-r--r--activesupport/test/core_ext/hash/transform_keys_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash/transform_keys_test.rb b/activesupport/test/core_ext/hash/transform_keys_test.rb
index af91a79415..ea34a47b3d 100644
--- a/activesupport/test/core_ext/hash/transform_keys_test.rb
+++ b/activesupport/test/core_ext/hash/transform_keys_test.rb
@@ -52,7 +52,7 @@ class TransformKeysTest < ActiveSupport::TestCase
end
end
- original = HashDescendant.new({ a: "a", b: "b" })
+ original = HashDescendant.new(a: "a", b: "b")
mapped = original.transform_keys { |k| "#{k}!".to_sym }
assert_equal({ a: "a", b: "b" }, original)