mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +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() {
|
} 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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user