Skip to content

Commit

Permalink
hugolib: Disable a test assertion on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
bep authored and jakejarvis committed Mar 5, 2021
1 parent ec35fd2 commit 3c44902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugolib/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"os"
"path/filepath"
"runtime"
"strings"
"testing"

"github.com/gohugoio/hugo/htesting"
Expand Down Expand Up @@ -147,7 +148,7 @@ IMG SHORTCODE: /images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_129x239_r
}

err = b.BuildE(BuildCfg{})
if runtime.GOOS != "windows" {
if runtime.GOOS != "windows" && !strings.Contains(runtime.GOARCH, "arm") {
// TODO(bep)
c.Assert(err, qt.Not(qt.IsNil))
}
Expand Down

0 comments on commit 3c44902

Please sign in to comment.