foreseen

A text-based gemini browser with prefetching
git clone git://git.laack.co/foreseen.git
Log | Files | Refs | README | LICENSE

commit 5bff23cc8a0ac5286e69457caab439059f9a82c5
parent 65531b4bc408733b937ab11a30dc180ef7484fff
Author: Andrew Laack <andrew@laack.co>
Date:   Thu,  1 Oct 2026 11:47:14 -0500

Removed final ext conn of this type

Diffstat:
Mtests/browser-test.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/browser-test.cpp b/tests/browser-test.cpp @@ -178,10 +178,10 @@ TEST_CASE("Test going backwards doesn't break when accessing an invalid site pri TEST_CASE("Test encoding allows relative linking with : in parameter") { Browser b{}; - b.goToSite("gemini://tlgs.one/search"); - REQUIRE(b.getCurrentLink()->getLinkDestination().to_string() == "gemini://tlgs.one/search"); + b.goToSite("gemini://localhost/cgi-bin/search.py"); + REQUIRE(b.getCurrentLink()->getLinkDestination().to_string() == "gemini://localhost/cgi-bin/search.py"); b.goToSite("?https://test.com"); - REQUIRE(b.getCurrentLink()->getLinkDestination().to_string() == "gemini://tlgs.one/search?https%3A%2F%2Ftest.com"); + REQUIRE(b.getCurrentLink()->getLinkDestination().to_string() == "gemini://localhost/cgi-bin/search.py?https%3A%2F%2Ftest.com"); } TEST_CASE("Sanitize characters to draw tests") {