diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-15 03:11:28 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-15 03:11:28 +0000 |
commit | a3112838c8637226b96f1cca7036eb42536d2aa2 (patch) | |
tree | f333f1c306d07933ceb2f4098b8aefde5d34d29e /test/yaml/test_yaml.rb | |
parent | 5f4f55203981252169b3fe3aeb594321edf91d52 (diff) | |
download | ruby-a3112838c8637226b96f1cca7036eb42536d2aa2.tar.gz ruby-a3112838c8637226b96f1cca7036eb42536d2aa2.tar.xz ruby-a3112838c8637226b96f1cca7036eb42536d2aa2.zip |
* lib/yaml.rb: removed fallback to pure Ruby parser.
* lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.
* ext/syck/syck.h: reports style of scalars now, be they plain, block
single-, or double-quoted.
* ext/syck/syck.c: ditto.
* ext/syck/gram.c: ditto.
* ext/syck/node.c: ditto.
* ext/syck/token.c: ditto.
* ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
if scalar style is plain.
* test/yaml/test_yaml.rb (test_perl_regexp): updated test to
match new regexp serialization.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml/test_yaml.rb')
-rw-r--r-- | test/yaml/test_yaml.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb index 2000f99b6..9b1a4f4d3 100644 --- a/test/yaml/test_yaml.rb +++ b/test/yaml/test_yaml.rb @@ -1045,8 +1045,8 @@ EOY assert_parse_only( [ /bozo$/i ], <<EOY - !perl/regexp: - REGEXP: bozo$ - MODIFIERS: i + regexp: bozo$ + mods: i EOY ) end |