summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",
}