Sha256: 686a408ec6a98a2ee9b51916e62033c22b3d0ef773b6832453358709ee16b49f
Contents?: true
Size: 759 Bytes
Versions: 3
Compression:
Stored size: 759 Bytes
Contents
# Author:: Nicolas Despres <nicolas.despres@gmail.com>. # Copyright:: Copyright (c) 2004 TTK Team. All rights reserved. # License:: Ruby license. # $LastChangedBy: ertai $ # $Id: OYaml_test.rb 567 2005-04-13 08:00:06Z polrop $ require 'test/unit/ui/yaml/testrunner' require 'ttk' module TTK module Loaders class OYamlTest < ::Test::Unit::TestCase def test1 doc = OYaml.new.load_doc('--- { d: 3, a: 2, b: 4 }') assert_equal(doc.keys, [:d, :a, :b]) end def test2 doc = OYaml.new.load_doc('--- { a: 2, d: 3, b: 4 }') assert_equal(doc.keys, [:a, :d, :b]) end end # class OYamlTest end # module Loaders end # module TTK Test::Unit::UI::Yaml::TestRunner.run(TTK::Loaders::OYamlTest)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ttk-0.1.576 | test/runit/loaders/OYaml_test.rb |
ttk-0.1.579 | test/runit/loaders/OYaml_test.rb |
ttk-0.1.580 | test/runit/loaders/OYaml_test.rb |