summaryrefslogtreecommitdiff
path: root/gemini/gemtext/sub_test.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-08-25 20:46:28 -0600
committertjpcc <tjp@ctrl-c.club>2023-08-26 09:26:23 -0600
commit4b42fce53b80c8eb1796c4fb4c3966fb4c759677 (patch)
tree5f99d8c99ba24e00b354de9402c7c8ba8276ea9a /gemini/gemtext/sub_test.go
parent4c4dba9ba1e91ab44fcd21c50c6df62a19cfd9e1 (diff)
GmisubToAtom: update docs and names, add tests
Diffstat (limited to 'gemini/gemtext/sub_test.go')
-rw-r--r--gemini/gemtext/sub_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemini/gemtext/sub_test.go b/gemini/gemtext/sub_test.go
index 8bba682..26f98ed 100644
--- a/gemini/gemtext/sub_test.go
+++ b/gemini/gemtext/sub_test.go
@@ -51,7 +51,7 @@ func TestGemsubToAtom(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- xml := GemsubToAtom(doc, *loc)
+ xml := GmisubToAtom(doc, *loc)
if xml != test.output {
t.Fatal("mismatched output")
}