diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-06-08 07:55:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 07:55:42 +0900 |
commit | faab5052f8d21ed06352b185d52c5a3e177b904e (patch) | |
tree | fc267a02e2d0e560d6b11627e4c4d397c2b60ca4 /test | |
parent | f2627aa60394b2d296dab1afdca6f648126ff1c3 (diff) | |
parent | 542cf9754f836024e1b4ebb62636120e6962be2e (diff) | |
download | psych-faab5052f8d21ed06352b185d52c5a3e177b904e.tar.gz |
Merge pull request #506 from mame/ci-with-libyaml-0.1.7
Add a CI configuration with libyaml 0.1.7
Diffstat (limited to 'test')
-rw-r--r-- | test/psych/test_psych.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_psych.rb b/test/psych/test_psych.rb index bd271f2..1abd69c 100644 --- a/test/psych/test_psych.rb +++ b/test/psych/test_psych.rb @@ -424,7 +424,7 @@ eoyml end assert_equal "Tried to dump unspecified class: Symbol(:foo)", error.message - assert_equal "--- :foo\n", Psych.safe_dump(:foo, permitted_classes: [Symbol], permitted_symbols: [:foo]) + assert_match(/\A--- :foo\n(?:\.\.\.\n)?\z/, Psych.safe_dump(:foo, permitted_classes: [Symbol], permitted_symbols: [:foo])) end def test_safe_dump_aliases |