diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-15 18:17:43 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-15 18:17:43 +0000 |
commit | b75b9455ac9fbf816f9eb38f2815f584dea6dc7f (patch) | |
tree | 281fcae2c3b98524e32707f0a14878997f4b5a7d /test/yaml | |
parent | ee72d97e99c786f087c7ec39d5f2efbb7a505252 (diff) |
* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
* test/yaml/test_yaml.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml')
-rw-r--r-- | test/yaml/test_yaml.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb index ded9530d80..6ddde2065c 100644 --- a/test/yaml/test_yaml.rb +++ b/test/yaml/test_yaml.rb @@ -189,6 +189,13 @@ EOY ) end + def test_ambiguous_comments + # [ruby-talk:88012] + assert_to_yaml( "Call the method #dave", <<EOY ) +--- "Call the method #dave" +EOY + end + def test_spec_nested_comments # Map and sequences with comments assert_parse_only( |