mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Fix pygments check in test
This commit is contained in:
@@ -599,7 +599,7 @@ tags:
|
||||
} else if strings.HasSuffix(test.contentPath, ".rst") && !helpers.HasRst() {
|
||||
fmt.Println("Skip Rst test case as no rst2html present.")
|
||||
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.")
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user