summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-01-19 10:04:05 +0200
committerPaul Buetow <paul@buetow.org>2025-01-19 10:04:05 +0200
commitc0a710cca29fc2c2ed641d8c364ef971f934d61b (patch)
tree1631f9cd855fd509071fcc19ea1601c17202ab66
parent828eec5d98e278816731de13c2121045f9aabdb9 (diff)
found another issue
-rw-r--r--internal/summary/summary_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/summary/summary_test.go b/internal/summary/summary_test.go
index 2b038c5..fffc896 100644
--- a/internal/summary/summary_test.go
+++ b/internal/summary/summary_test.go
@@ -10,8 +10,9 @@ func TestGemtextLink(t *testing.T) {
"https://example.org": "=> https://example.org example.org",
"https://example.org/some/very/long/link/here?with=a&free=of&parameters=here": "=> https://example.org/some/very/long/link/here?with=a&free=of&parameters=here example.org/s...rameters=here",
+ // TODO: Refactor, so that internal links refer to ./ and that the suffix .gmi and/or .html is hidden if possible
"beer://foo.zone": "=> beer://foo.zone foo.zone",
- "http://foo.zone": "=> gemini://foo.zone foo.zone",
+ "http://foo.zone": "=> one foo.zone",
"https://foo.zone/index.html": "=> gemini://foo.zone/index.gmi foo.zone/index.gmi",
"https://foo.zone/gemtext/this-is-awesome.html": "=> gemini://foo.zone/gemtext/this-is-awesome.gmi foo.zone/gemt...s-awesome.gmi",
}