1require 'psych/helper' 2 3module Psych 4 class TestSymbol < TestCase 5 def test_cycle 6 assert_cycle :a 7 end 8 9 def test_stringy 10 assert_cycle :"1" 11 end 12 13 def test_load_quoted 14 assert_equal :"1", Psych.load("--- :'1'\n") 15 end 16 end 17end 18