Sha256: 4d5910d3f0b1b097cedd244b43b687662a4c37e41dd05ebd8d42337cd58d913f

Contents?: true

Size: 382 Bytes

Versions: 18

Compression:

Stored size: 382 Bytes

Contents

require_relative 'helper'

module Psych
  class TestSymbol < TestCase
    def test_cycle_empty
      assert_cycle :''
    end

    def test_cycle_colon
      assert_cycle :':'
    end

    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

18 entries across 18 versions & 2 rubygems

Version Path
psych-2.0.17-java test/psych/test_symbol.rb
psych-2.0.17 test/psych/test_symbol.rb
psych-2.0.16-java test/psych/test_symbol.rb
psych-2.0.16 test/psych/test_symbol.rb
psych-2.0.15-java test/psych/test_symbol.rb
psych-2.0.15 test/psych/test_symbol.rb
psych-2.0.14-java test/psych/test_symbol.rb
psych-2.0.14 test/psych/test_symbol.rb
psych-shopifork-2.0.13 test/psych/test_symbol.rb
psych-2.0.14.pre1-java test/psych/test_symbol.rb
psych-2.0.13 test/psych/test_symbol.rb
psych-2.0.12 test/psych/test_symbol.rb
psych-2.0.11 test/psych/test_symbol.rb
psych-2.0.10 test/psych/test_symbol.rb
psych-2.0.9 test/psych/test_symbol.rb
psych-2.0.8 test/psych/test_symbol.rb
psych-2.0.7 test/psych/test_symbol.rb
psych-2.0.6 test/psych/test_symbol.rb