diff options
author | Marvin Schmidt <marvin_schmidt@gmx.net> | 2021-03-31 03:11:15 +0200 |
---|---|---|
committer | Matthew Peveler <matt.peveler@popsql.com> | 2021-09-18 20:33:03 -1000 |
commit | 46c82c251e27caac659cfc18beedd9e9e965db9d (patch) | |
tree | 67253433bce7e0ced229635a5138e9f65802b12d | |
parent | 9705d428439530104ce55d0ba12e8ef9d1b57ad1 (diff) | |
download | asciidoc-py3-46c82c251e27caac659cfc18beedd9e9e965db9d.tar.gz |
tests: Add missing requires directive for source-highlight (#189)
Otherwise the test fails in environments without `source-highlight`:
[snip]
70: Newline Tests (Override To MAC)
SOURCE: asciidoc: tests/data/newline.txt
PASSED: html5: tests/data/newline-mac-html5.html
71: Include Line Ranges
SOURCE: asciidoc: tests/data/include-lines-test.txt
FAILED: html5: tests/data/include-lines-html5.html
TOTAL PASSED: 233
TOTAL FAILED: 1
TOTAL SKIPPED: 10
/bin/sh: source-highlight: command not found
/bin/sh: source-highlight: command not found
/bin/sh: source-highlight: command not found
-rw-r--r-- | tests/testasciidoc.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testasciidoc.conf b/tests/testasciidoc.conf index 3f69887..181076b 100644 --- a/tests/testasciidoc.conf +++ b/tests/testasciidoc.conf @@ -956,6 +956,9 @@ data/newline.txt %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Include Line Ranges +% requires +['source-highlight'] + % backends ['html5'] |