repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
8c14725
parent
7bf1673
author
Eric Bower
date
2024-10-13 03:44:56 +0000 UTC
fix: linter
1 files changed,  +6, -6
M pgs/redirect_test.go
+6, -6
 1@@ -7,9 +7,9 @@ import (
 2 )
 3 
 4 type RedirectFixture struct {
 5-	name   string
 6-	input  string
 7-	expect []*RedirectRule
 8+	name        string
 9+	input       string
10+	expect      []*RedirectRule
11 	shouldError bool
12 }
13 
14@@ -58,9 +58,9 @@ func TestParseRedirectText(t *testing.T) {
15 	}
16 
17 	absoluteUriNoProto := RedirectFixture{
18-		name:  "absolute-uri-no-proto",
19-		input: "/*  www.example.com  301",
20-		expect: []*RedirectRule{},
21+		name:        "absolute-uri-no-proto",
22+		input:       "/*  www.example.com  301",
23+		expect:      []*RedirectRule{},
24 		shouldError: true,
25 	}
26