summaryrefslogtreecommitdiff
path: root/indexers
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-06-01 19:37:34 +0200
committerewy <ewy0@protonmail.com>2026-06-01 19:37:34 +0200
commit3d46b9546e1ccf131ce4dbcbfc12f6e37fa301ea (patch)
tree54bd9343fe51734b7e2377a844065f317bc51cc3 /indexers
parent46d032cd21b0e8e2c94a32333d3805ec76980cca (diff)
default to manpage view for help
Diffstat (limited to 'indexers')
-rw-r--r--indexers/pikdex/meta_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/indexers/pikdex/meta_test.go b/indexers/pikdex/meta_test.go
index e04815f..8980d8c 100644
--- a/indexers/pikdex/meta_test.go
+++ b/indexers/pikdex/meta_test.go
@@ -11,7 +11,7 @@ func TestContentLines(t *testing.T) {
in := `asdf
hjkl`
result := contentLines(in)
- assert.Equal(t, "asdf", "hjkl", result)
+ assert.Equal(t, []string{"asdf", "hjkl"}, result)
}
func TestContentLines_EmptyLine(t *testing.T) {
@@ -19,13 +19,13 @@ func TestContentLines_EmptyLine(t *testing.T) {
hjkl`
result := contentLines(in)
- assert.Equal(t, "asdf", "hjkl", result)
+ assert.Equal(t, []string{"asdf", "hjkl"}, result)
}
func TestContentLines_Empty(t *testing.T) {
in := ``
result := contentLines(in)
- assert.Equal(t, nil, result)
+ assert.Len(t, result, 0)
}
func TestContentLines_Comment(t *testing.T) {
@@ -35,5 +35,5 @@ asdf
# iuyyiuoui
hjkl`
result := contentLines(in)
- assert.Equal(t, "asdf", "hjkl", result)
+ assert.Equal(t, []string{"asdf", "hjkl"}, result)
}