Sha256: 476df1685f9497dad0744d6500dde6c6da99f5326b78af62bc2b3708689489a3
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
require 'test/unit' require 'nodejs' require 'nodejs/yaml' class TestYAML < Test::Unit::TestCase YAMLDOC = <<~YAML --- string: hello world array: [1,2,3] YAML YAMLSTRUCT = { "string" => "hello world", "array" => [1,2,3] } def test_should_parse_yaml assert_equal(YAML.load(YAMLDOC), YAMLSTRUCT) end end
Version data entries
6 entries across 6 versions & 1 rubygems