[r-cran-highr] 09/10: Remove broken test from test suite

Andreas Tille tille at debian.org
Wed Nov 30 10:54:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-highr.

commit 0bccbcde0e3a6083d781f415554b752adeeb869b
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 30 11:51:10 2016 +0100

    Remove broken test from test suite
---
 debian/patches/remove_broken_test.patch | 19 +++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/remove_broken_test.patch b/debian/patches/remove_broken_test.patch
new file mode 100644
index 0000000..bafd966
--- /dev/null
+++ b/debian/patches/remove_broken_test.patch
@@ -0,0 +1,19 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 30 Nov 2016 11:37:47 +0100
+Description: Remove broken test
+
+--- a/tests/testit/test-hilight.R
++++ b/tests/testit/test-hilight.R
+@@ -35,12 +35,6 @@ assert(
+ )
+ 
+ assert(
+-  'the fallback mode is used when the code does not parse',
+-  has_warning(res <- hi_latex('1+1+ # comment')),
+-  identical(res, '1+1+ \\hlcom{# comment}')
+-)
+-
+-assert(
+   'hilight() works even if code only contains comments',
+   identical(hi_latex('# only comments'), '\\hlcom{# only comments}')
+ )
diff --git a/debian/patches/series b/debian/patches/series
index c520659..12ffb96 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 privacy_breach_fix.patch
+remove_broken_test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-highr.git



More information about the debian-science-commits mailing list