Sha256: 48f9e52da9e0986b38d2c993abbae54b0a0bf70cb57c17ab4139253fa51da567

Contents?: true

Size: 267 Bytes

Versions: 10

Compression:

Stored size: 267 Bytes

Contents

require_relative '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

10 entries across 10 versions & 3 rubygems

Version Path
psych-shopifork-2.0.5 test/psych/test_symbol.rb
psych-2.0.5 test/psych/test_symbol.rb
psych-2.0.4 test/psych/test_symbol.rb
psych-shopifork-2.0.3 test/psych/test_symbol.rb
psych-2.0.3 test/psych/test_symbol.rb
psych-2.0.2 test/psych/test_symbol.rb
psych-shopifork-2.0.0 test/psych/test_symbol.rb
psych-2.0.1 test/psych/test_symbol.rb
psych-2.0.0 test/psych/test_symbol.rb
km-psych-0.1.0 test/psych/test_symbol.rb