tests on root and khatru working.

This commit is contained in:
fiatjaf
2025-04-17 20:30:44 -03:00
parent 1c56906506
commit 32efaa7c58
13 changed files with 56 additions and 74 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ func TestTagHelpers(t *testing.T) {
assert.Equal(t, "ffffff", tags.FindLast("e")[1], "failed to get last")
assert.Equal(t, 2, len(slices.Collect(tags.FindAll("e"))), "failed to get all")
c := make(Tags, 0, 2)
for _, tag := range tags.All([]string{"e", ""}) {
for tag := range tags.FindAll("e") {
c = append(c, tag)
}
}