mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 14:40:43 +03:00
Fix broken Highlight test
This commit is contained in:
parent
be6a92c8b6
commit
bee52f85ae
2 changed files with 2 additions and 9 deletions
|
@ -143,8 +143,7 @@ func TestFigureImgWidth(t *testing.T) {
|
|||
CheckShortCodeMatch(t, `{{% figure src="/found/here" class="bananas orange" alt="apple" width="100px" %}}`, "\n<figure class=\"bananas orange\">\n \n <img src=\"/found/here\" alt=\"apple\" width=\"100px\" />\n \n \n</figure>\n", tem)
|
||||
}
|
||||
|
||||
// TODO(bep)
|
||||
func _TestHighlight(t *testing.T) {
|
||||
func TestHighlight(t *testing.T) {
|
||||
if !helpers.HasPygments() {
|
||||
t.Skip("Skip test as Pygments is not installed")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue