Fix pygments check in test

This commit is contained in:
Bjørn Erik Pedersen 2016-10-15 16:47:43 +02:00
parent 9ee2538e0b
commit 35dda2d938

View file

@ -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
}