Sha256: 89c21788a489f3dd092d1c5d099839b50d30fe38ba547dcd3d49702a1b7c561f
Contents?: true
Size: 396 Bytes
Versions: 15
Compression:
Stored size: 396 Bytes
Contents
require 'helper' module Syck class TestSymbol < Test::Unit::TestCase def test_to_yaml assert_equal :a, Syck.load(:a.to_yaml) end def test_dump assert_equal :a, Syck.load(Syck.dump(:a)) end def test_stringy assert_equal :"1", Syck.load(Syck.dump(:"1")) end def test_load_quoted assert_equal :"1", Syck.load("--- :'1'\n") end end end
Version data entries
15 entries across 15 versions & 2 rubygems