summaryrefslogtreecommitdiff
path: root/test/test_psych.rb
blob: cc327406de80c2f753156f6ab51357c87316b776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'helper'

class TestPsych < Test::Unit::TestCase
  #def test_simple
  #  assert_equal 'foo', Psych.parse("--- foo\n")
  #end

  def test_libyaml_version
    assert Psych.libyaml_version
    assert_equal Psych.libyaml_version.join('.'), Psych::LIBYAML_VERSION
  end
end