mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:41:01 +00:00
Show site build warning in TestPageBundlerSiteRegular
So that a timeout warning does appear if it does happen especially on a slow machine with soft floating-point CPU. Special thanks to @bep for the solution. See #4672
This commit is contained in:
parent
4eedb377b6
commit
9bd4236e1b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func TestPageBundlerSiteRegular(t *testing.T) {
|
|||
|
||||
cfg.Set("uglyURLs", ugly)
|
||||
|
||||
s := buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})
|
||||
s := buildSingleSite(t, deps.DepsCfg{Logger: newWarningLogger(), Fs: fs, Cfg: cfg}, BuildCfg{})
|
||||
|
||||
th := testHelper{s.Cfg, s.Fs, t}
|
||||
|
||||
|
|
Loading…
Reference in a new issue