repos / pico

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

commit
c4d79bb
parent
c31a9c7
author
Eric Bower
date
2024-07-22 15:37:36 +0000 UTC
chore: test names
1 files changed,  +4, -4
M pgs/calc_route_test.go
+4, -4
 1@@ -348,7 +348,7 @@ func TestCalcRoutes(t *testing.T) {
 2 			},
 3 		},
 4 		{
 5-			Name: "redirect-to-site",
 6+			Name: "rewrite-to-site",
 7 			Actual: calcRoutes(
 8 				"public",
 9 				"/",
10@@ -366,7 +366,7 @@ func TestCalcRoutes(t *testing.T) {
11 			},
12 		},
13 		{
14-			Name: "redirect-to-site-subdir",
15+			Name: "rewrite-to-site-subdir",
16 			Actual: calcRoutes(
17 				"public",
18 				"/plugin/nice/",
19@@ -384,7 +384,7 @@ func TestCalcRoutes(t *testing.T) {
20 			},
21 		},
22 		{
23-			Name: "redirect-to-another-pgs-site",
24+			Name: "rewrite-to-another-pgs-site",
25 			Actual: calcRoutes(
26 				"public",
27 				"/my-site/index.html",
28@@ -402,7 +402,7 @@ func TestCalcRoutes(t *testing.T) {
29 			},
30 		},
31 		{
32-			Name: "redirect-placeholders",
33+			Name: "rewrite-placeholders",
34 			Actual: calcRoutes(
35 				"public",
36 				"/news/02/12/2004/my-story",