提交 b7693dc0 编写于 作者: A Aaron Patterson 提交者: wycats

working around syck defects by optionally matching a space [#4426 state:resolved]

Signed-off-by: Nwycats <wycats@gmail.com>
上级 d92e3111
......@@ -79,7 +79,7 @@ def test_should_serialize_boolean
end
def test_should_serialize_yaml
assert_match %r{<preferences type=\"yaml\">--- \n:gem: ruby\n</preferences>}, @xml
assert_match %r{<preferences type=\"yaml\">---\s?\n:gem: ruby\n</preferences>}, @xml
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册