diff options
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/site_benchmark_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site_benchmark_test.go b/hugolib/site_benchmark_test.go index d23271af7..123e69b30 100644 --- a/hugolib/site_benchmark_test.go +++ b/hugolib/site_benchmark_test.go @@ -103,7 +103,7 @@ func doBenchMarkSiteBuilding(conf siteBuildingBenchmarkConfig, b *testing.B) { // Try to help the GC sites[0] = nil - sites = sites[1:len(sites)] + sites = sites[1:] } }) } |