diff options
Diffstat (limited to 'hugolib/mount_filters_test.go')
-rw-r--r-- | hugolib/mount_filters_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/mount_filters_test.go b/hugolib/mount_filters_test.go index 5f4157715..688cf2558 100644 --- a/hugolib/mount_filters_test.go +++ b/hugolib/mount_filters_test.go @@ -101,13 +101,13 @@ Resources: {{ resources.Match "**.js" }} assertExists := func(name string, shouldExist bool) { b.Helper() - b.Assert(b.CheckExists(filepath.Join(workingDir, name)), qt.Equals, shouldExist) + b.Assert(b.CheckExists(name), qt.Equals, shouldExist) } assertExists("public/a/b/p1/index.html", true) assertExists("public/a/c/p2/index.html", false) - b.AssertFileContent(filepath.Join(workingDir, "public", "index.html"), ` + b.AssertFileContent(filepath.Join("public", "index.html"), ` Data: map[mydata:map[b:map[b1:bval]]]:END Template: false Resource1: js/include.js:END |