summaryrefslogtreecommitdiff
path: root/test/psych/visitors
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/visitors')
-rw-r--r--test/psych/visitors/test_to_ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/visitors/test_to_ruby.rb b/test/psych/visitors/test_to_ruby.rb
index 0ebfe9bab0..e1a0056a61 100644
--- a/test/psych/visitors/test_to_ruby.rb
+++ b/test/psych/visitors/test_to_ruby.rb
@@ -24,7 +24,7 @@ module Psych
end
def test_legacy_struct
- Struct.send(:remove_const, AWESOME) if Struct.const_defined?(:AWESOME)
+ Struct.send(:remove_const, :AWESOME) if Struct.const_defined?(:AWESOME)
foo = Struct.new('AWESOME', :bar)
assert_equal foo.new('baz'), Psych.load(<<-eoyml)
!ruby/struct:AWESOME