mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix pygments check in test
This commit is contained in:
parent
9ee2538e0b
commit
35dda2d938
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ tags:
|
||||||
} else if strings.HasSuffix(test.contentPath, ".rst") && !helpers.HasRst() {
|
} else if strings.HasSuffix(test.contentPath, ".rst") && !helpers.HasRst() {
|
||||||
fmt.Println("Skip Rst test case as no rst2html present.")
|
fmt.Println("Skip Rst test case as no rst2html present.")
|
||||||
continue
|
continue
|
||||||
} else if strings.Contains(test.expected, "code class") && !helpers.HasPygments() {
|
} else if strings.Contains(test.expected, "code") && !helpers.HasPygments() {
|
||||||
fmt.Println("Skip Pygments test case as no pygments present.")
|
fmt.Println("Skip Pygments test case as no pygments present.")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue