Sha256: 7d62bcf38b7fdf2da0933ec3571bb922a9b6ec46cb2040d87f3f04196b9d67d6
Contents?: true
Size: 346 Bytes
Versions: 4
Compression:
Stored size: 346 Bytes
Contents
require 'test/unit' require 'yaml' module WLang class YAMLAssumptionTest < Test::Unit::TestCase def test_it_supports_quotes_as_expected text = "---\nauthor:\n \"Bernard Lambeau\"\n" x = YAML::load(text) assert_equal({'author' => "Bernard Lambeau"}, x) end end # class YAMLAssumptionTest end # module WLang
Version data entries
4 entries across 3 versions & 1 rubygems