Sha256: e412f5041de5ccc45efce8cc0ee74cf447b103d4c8d5fa3e49104e266c0d139a

Contents?: true

Size: 264 Bytes

Versions: 11

Compression:

Stored size: 264 Bytes

Contents

require 'psych/helper'

module Psych
  class TestSymbol < TestCase
    def test_cycle
      assert_cycle :a
    end

    def test_stringy
      assert_cycle :"1"
    end

    def test_load_quoted
      assert_equal :"1", Psych.load("--- :'1'\n")
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
psych-1.3.4 test/psych/test_symbol.rb
psych-1.3.3 test/psych/test_symbol.rb
psych-1.3.2 test/psych/test_symbol.rb
psych-1.3.1 test/psych/test_symbol.rb
psych-1.3.0 test/psych/test_symbol.rb
psych-1.2.2 test/psych/test_symbol.rb
psych-1.2.2.rc1 test/psych/test_symbol.rb
psych-1.2.1 test/psych/test_symbol.rb
psych-1.2.0 test/psych/test_symbol.rb
psych-1.1.1 test/psych/test_symbol.rb
psych-1.1.0 test/psych/test_symbol.rb