summaryrefslogtreecommitdiffstats
path: root/hugolib/site_sections_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_sections_test.go')
-rw-r--r--hugolib/site_sections_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/hugolib/site_sections_test.go b/hugolib/site_sections_test.go
index 01550c9fa..772d23e23 100644
--- a/hugolib/site_sections_test.go
+++ b/hugolib/site_sections_test.go
@@ -176,8 +176,6 @@ PAG|{{ .Title }}|{{ $sect.InSection . }}
active, err := home.InSection(home)
assert.NoError(err)
assert.True(active)
- assert.Equal(p, p.FirstSection())
-
}},
{"l1", func(p *Page) {
assert.Equal("L1s", p.title)
@@ -252,8 +250,6 @@ PAG|{{ .Title }}|{{ $sect.InSection . }}
assert.NoError(err)
assert.False(isAncestor)
- assert.Equal(l1, p.FirstSection())
-
}},
{"perm a,link", func(p *Page) {
assert.Equal("T9_-1", p.title)