summaryrefslogtreecommitdiff
path: root/test/psych/test_yaml.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-06 17:13:27 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-06 17:13:27 -0800
commit8c60e9fa2a5e4932d8762469000b232d57c696b5 (patch)
tree29ba5ec4de61ecb966f68e11146de6cb6ca266f3 /test/psych/test_yaml.rb
parente008a513f5e33031c5e9341cb4da09a225693840 (diff)
downloadpsych-8c60e9fa2a5e4932d8762469000b232d57c696b5.zip
merging from ruby
Diffstat (limited to 'test/psych/test_yaml.rb')
-rw-r--r--test/psych/test_yaml.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb
index 45cd39d..20bf26e 100644
--- a/test/psych/test_yaml.rb
+++ b/test/psych/test_yaml.rb
@@ -13,6 +13,11 @@ class Psych_Unit_Tests < Psych::TestCase
def teardown
Psych.domain_types.clear
end
+
+ # [ruby-core:34969]
+ def test_regexp_with_n
+ assert_cycle(Regexp.new('',0,'n'))
+ end
#
# Tests modified from 00basic.t in Psych.pm
#