From d7c76afa342c98220281bdadb7fcf2598e48624b Mon Sep 17 00:00:00 2001 From: Chongyi Zheng Date: Tue, 12 Mar 2024 14:02:02 -0400 Subject: Support dark mode theme (#142) * Support dark mode theme * Add dark mode to 404 and package pages * Fix tests --- handler_test.go | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'handler_test.go') diff --git a/handler_test.go b/handler_test.go index b8c667b..c88fe9d 100644 --- a/handler_test.go +++ b/handler_test.go @@ -62,6 +62,13 @@ func TestPackageShouldExist(t *testing.T) { + Nothing to see here. Please move along. @@ -77,6 +84,11 @@ func TestNonExistentPackageShould404(t *testing.T) { +
@@ -95,6 +107,13 @@ func TestTrailingSlash(t *testing.T) { + Nothing to see here. Please move along. @@ -111,6 +130,13 @@ func TestDeepImports(t *testing.T) { + Nothing to see here. Please move along. @@ -125,6 +151,13 @@ func TestDeepImports(t *testing.T) { + Nothing to see here. Please move along. @@ -141,6 +174,13 @@ func TestPackageLevelURL(t *testing.T) { + Nothing to see here. Please move along. @@ -312,6 +352,13 @@ func TestCustomTemplates(t *testing.T) { + Nothing to see here. Please move along. -- cgit v1.2.3