mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02: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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user