Commit 7dd9852ea5

7dd9852ea56a9de00fadc010d546b299a1b3481c

parent: 070b443e46

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-12 05:26 UTC

e2e: gofmt snippetweb_test

Ref #182
e2e/snippetweb_test.go +1 −1
@@ -72,7 +72,7 @@ func TestSnippetsWeb(t *testing.T) {
7272 if resp.StatusCode != 200 || !strings.HasPrefix(resp.Header.Get("Content-Type"), "text/plain") || resp.Header.Get("X-Content-Type-Options") != "nosniff" {
7373 t.Fatalf("raw headers: %d %v", resp.StatusCode, resp.Header)
7474 }
75 if status, _ := inst.get(t, "/alice/-/snippets/" + public + "/raw/other.go"); status != 404 {
75 if status, _ := inst.get(t, "/alice/-/snippets/"+public+"/raw/other.go"); status != 404 {
7676 t.Fatalf("raw for a missing file: %d", status)
7777 }
7878