Commit d94f2e97 authored by Clint Adams's avatar Clint Adams

yaml: patch testsuite to work against the released version of libyaml. closes: #865711 for now.

parent 8738a813
haskell-yaml (0.8.23-3) unstable; urgency=medium
* Patch testsuite to work against the released version of libyaml.
closes: #865711 for now.
-- Clint Adams <clint@debian.org> Thu, 29 Jun 2017 17:55:30 -0400
haskell-yaml (0.8.23-2) unstable; urgency=medium
* Team upload.
......
--- a/test/Data/YamlSpec.hs
+++ b/test/Data/YamlSpec.hs
@@ -437,7 +437,7 @@
caseEncodeInvalidNumbers :: Assertion
caseEncodeInvalidNumbers =
- D.encode (D.String ".") @?= ".\n"
+ D.encode (D.String ".") @?= ".\n...\n"
caseDataTypesPretty :: Assertion
caseDataTypesPretty =
@@ -455,7 +455,7 @@
caseQuotedNumber = D.decode "foo: \"1234\"" @?= Just (object [("foo", D.String "1234")])
caseUnquotedNumber = D.decode "foo: 1234" @?= Just (object [("foo", D.Number 1234)])
caseAttribNumber = D.decode "foo: !!str 1234" @?= Just (object [("foo", D.String "1234")])
-caseIntegerDecimals = D.encode (1 :: Int) @?= "1\n"
+caseIntegerDecimals = D.encode (1 :: Int) @?= "1\n...\n"
obj :: Maybe D.Value
obj = Just (object [("foo", D.Bool False), ("bar", D.Bool True), ("baz", D.Bool True)])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment