Skip to content

Commit c5481d0

Browse files
henderkesCopilot
andauthored
Update caddy/caddy_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Marc <m@pyc.ac>
1 parent b632a5e commit c5481d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

caddy/caddy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ func TestPHPServerDirectiveDisableFileServer(t *testing.T) {
488488

489489
func TestPHPServerGlobals(t *testing.T) {
490490
documentRoot, _ := filepath.Abs("../testdata")
491-
scriptFilename := documentRoot + string(filepath.Separator) + "server-globals.php"
491+
scriptFilename := filepath.Join(documentRoot, "server-globals.php")
492492

493493
tester := caddytest.NewTester(t)
494494
initServer(t, tester, `

0 commit comments

Comments
 (0)