[DHG_packages] 01/01: yaml: patch testsuite to work against the released version of libyaml. closes: #865711 for now.
Clint Adams
clint at moszumanska.debian.org
Thu Jun 29 22:02:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit d94f2e97f9c1272338f7a9af794e37b02afdd45c
Author: Clint Adams <clint at debian.org>
Date: Thu Jun 29 17:57:31 2017 -0400
yaml: patch testsuite to work against the released version of libyaml. closes: #865711 for now.
---
p/haskell-yaml/debian/changelog | 7 +++++++
p/haskell-yaml/debian/patches/revert-testsuite | 20 ++++++++++++++++++++
p/haskell-yaml/debian/patches/series | 1 +
3 files changed, 28 insertions(+)
diff --git a/p/haskell-yaml/debian/changelog b/p/haskell-yaml/debian/changelog
index 456e5a6..6625178 100644
--- a/p/haskell-yaml/debian/changelog
+++ b/p/haskell-yaml/debian/changelog
@@ -1,3 +1,10 @@
+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 at debian.org> Thu, 29 Jun 2017 17:55:30 -0400
+
haskell-yaml (0.8.23-2) unstable; urgency=medium
* Team upload.
diff --git a/p/haskell-yaml/debian/patches/revert-testsuite b/p/haskell-yaml/debian/patches/revert-testsuite
new file mode 100644
index 0000000..14445f4
--- /dev/null
+++ b/p/haskell-yaml/debian/patches/revert-testsuite
@@ -0,0 +1,20 @@
+--- 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)])
diff --git a/p/haskell-yaml/debian/patches/series b/p/haskell-yaml/debian/patches/series
new file mode 100644
index 0000000..355afb3
--- /dev/null
+++ b/p/haskell-yaml/debian/patches/series
@@ -0,0 +1 @@
+revert-testsuite
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list