diff options
author | Marvin Schmidt <marvin_schmidt@gmx.net> | 2021-03-31 03:11:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 21:11:15 -0400 |
commit | 7b33ba88a6ab7446541c8ea70ec068663ef443d6 (patch) | |
tree | 185b99bb17ed11f207f7b7929b8b3ced5e8282f8 | |
parent | a512ffe88fd38b3c15d6138252ba33db6fe51066 (diff) | |
download | asciidoc-py3-7b33ba88a6ab7446541c8ea70ec068663ef443d6.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 4566d7c..b07f04e 100644 --- a/tests/testasciidoc.conf +++ b/tests/testasciidoc.conf @@ -956,6 +956,9 @@ data/newline.txt %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Include Line Ranges +% requires +['source-highlight'] + % backends ['html5'] |