diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-01-28 16:47:23 -0700 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-01-28 16:47:23 -0700 |
commit | 9cbc5cdd467ccd8e68f0f5d1d971ab76c2946624 (patch) | |
tree | b2e46bbe2d746cbdde2b619880e13ae54e5ea858 /contrib/fs/dir_test.go | |
parent | 04977e56b1a2f5d8b158cea98535d29545fa41da (diff) |
fix tests for #15 change
Diffstat (limited to 'contrib/fs/dir_test.go')
-rw-r--r-- | contrib/fs/dir_test.go | 4 |
1 files 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/", }, { |