diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-11 15:07:04 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-11 18:06:23 +0100 |
commit | 7396aa945a6ea7720d5dc77414ff02a4cbef7dfa (patch) | |
tree | 9882f02947ea693da48bc5936ab5ab80314f304c /common/hugo/hugo_test.go | |
parent | d82cef5c53903dc52a353b3bd67d7ee11c55e4a4 (diff) |
Add hugo.Deps
Fixes #8949
Diffstat (limited to 'common/hugo/hugo_test.go')
-rw-r--r-- | common/hugo/hugo_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/hugo/hugo_test.go b/common/hugo/hugo_test.go index 0631be62c..ff36cab7c 100644 --- a/common/hugo/hugo_test.go +++ b/common/hugo/hugo_test.go @@ -23,7 +23,7 @@ import ( func TestHugoInfo(t *testing.T) { c := qt.New(t) - hugoInfo := NewInfo("") + hugoInfo := NewInfo("", nil) c.Assert(hugoInfo.Version(), qt.Equals, CurrentVersion.Version()) c.Assert(fmt.Sprintf("%T", VersionString("")), qt.Equals, fmt.Sprintf("%T", hugoInfo.Version())) @@ -34,6 +34,6 @@ func TestHugoInfo(t *testing.T) { c.Assert(hugoInfo.IsProduction(), qt.Equals, true) c.Assert(hugoInfo.IsExtended(), qt.Equals, IsExtended) - devHugoInfo := NewInfo("development") + devHugoInfo := NewInfo("development", nil) c.Assert(devHugoInfo.IsProduction(), qt.Equals, false) } |