summaryrefslogtreecommitdiffstats
path: root/hugofs/fileinfo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/fileinfo_test.go')
-rw-r--r--hugofs/fileinfo_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/hugofs/fileinfo_test.go b/hugofs/fileinfo_test.go
index 8d6a2ff7a..715798b34 100644
--- a/hugofs/fileinfo_test.go
+++ b/hugofs/fileinfo_test.go
@@ -25,7 +25,6 @@ func TestFileMeta(t *testing.T) {
c.Run("Merge", func(c *qt.C) {
src := &FileMeta{
Filename: "fs1",
- Path: "ps1",
}
dst := &FileMeta{
Filename: "fd1",
@@ -33,19 +32,16 @@ func TestFileMeta(t *testing.T) {
dst.Merge(src)
- c.Assert(dst.Path, qt.Equals, "ps1")
c.Assert(dst.Filename, qt.Equals, "fd1")
})
c.Run("Copy", func(c *qt.C) {
src := &FileMeta{
Filename: "fs1",
- Path: "ps1",
}
dst := src.Copy()
c.Assert(dst, qt.Not(qt.Equals), src)
c.Assert(dst, qt.DeepEquals, src)
})
-
}