File: remove_broken_test.patch

package info (click to toggle)
r-cran-highr 0.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 172 kB
  • sloc: sh: 10; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Andreas Tille <tille@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}')
 )