From 9cbc5cdd467ccd8e68f0f5d1d971ab76c2946624 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 28 Jan 2023 16:47:23 -0700 Subject: fix tests for #15 change --- contrib/fs/dir_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/fs/dir_test.go b/contrib/fs/dir_test.go index 7d824e3..6109a3c 100644 --- a/contrib/fs/dir_test.go +++ b/contrib/fs/dir_test.go @@ -26,7 +26,7 @@ func TestDirectoryDefault(t *testing.T) { }{ { url: "gemini://localhost/d", - status: gemini.StatusTemporaryRedirect, + status: gemini.StatusPermanentRedirect, meta: "gemini://localhost/d/", }, { @@ -85,7 +85,7 @@ func TestDirectoryListing(t *testing.T) { }, { url: "gemini://localhost/d", - status: gemini.StatusTemporaryRedirect, + status: gemini.StatusPermanentRedirect, meta: "gemini://localhost/d/", }, { -- cgit v1.2.3