summaryrefslogtreecommitdiffstats
path: root/hugolib/testhelpers_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-02-28 14:22:05 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-02-29 18:32:06 +0100
commit1746e8a9b2be46dcd6cecbb4bc90983a9c69b333 (patch)
tree45a8cbb965f9070473e2a4d7a6330fd8fdf77b24 /hugolib/testhelpers_test.go
parent6f48146e75e9877c4271ec239b763e6f3bc3babb (diff)
Fix ref/relRef regression for relative refs from bundles
Fixes #6952
Diffstat (limited to 'hugolib/testhelpers_test.go')
-rw-r--r--hugolib/testhelpers_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go
index fe6f3b7e3..137dbd701 100644
--- a/hugolib/testhelpers_test.go
+++ b/hugolib/testhelpers_test.go
@@ -443,7 +443,8 @@ func (s *sitesBuilder) writeFilePairs(folder string, files []filenameContent) *s
// our tests running with the in memory filesystem.
// That file system is backed by a map so not sure how this helps, but some
// randomness in tests doesn't hurt.
- s.rnd.Shuffle(len(files), func(i, j int) { files[i], files[j] = files[j], files[i] })
+ // TODO(bep) this turns out to be more confusing than helpful.
+ //s.rnd.Shuffle(len(files), func(i, j int) { files[i], files[j] = files[j], files[i] })
for _, fc := range files {
target := folder