summaryrefslogtreecommitdiff
path: root/internal/generator/atom/atom_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-11 23:02:09 +0300
committerPaul Buetow <paul@buetow.org>2026-04-11 23:02:09 +0300
commit948f652fabc810ba8166727ba9f0daed555830d7 (patch)
treecf5beaee706ab287c3700057daf04c6879616317 /internal/generator/atom/atom_test.go
parent73a41c7e2fab3a125ab318934b7d486744b66eb3 (diff)
Release v0.1.6v0.1.6
Diffstat (limited to 'internal/generator/atom/atom_test.go')
-rw-r--r--internal/generator/atom/atom_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/generator/atom/atom_test.go b/internal/generator/atom/atom_test.go
index bf705c3..2bfdfb7 100644
--- a/internal/generator/atom/atom_test.go
+++ b/internal/generator/atom/atom_test.go
@@ -40,7 +40,7 @@ func TestGenerate_writesAtomXML(t *testing.T) {
if !strings.Contains(s, `xmlns="http://www.w3.org/2005/Atom"`) {
t.Fatalf("missing atom xmlns: %s", s)
}
- if !strings.Contains(s, "https://example.test/posts/p1/") {
+ if !strings.Contains(s, "https://example.test/#post-p1") {
t.Fatalf("missing entry link: %s", s)
}
if !strings.Contains(s, "hello") || !strings.Contains(s, `type="html"`) {