1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Rename test directory to testdata

See https://golang.org/cmd/go/#hdr-Test_packages
This commit is contained in:
Mitsuo Heijo
2020-10-06 21:34:32 +09:00
parent 3d203a1a03
commit 5c62690653
3 changed files with 2 additions and 1 deletions

View File

@ -330,7 +330,7 @@ func TestOpenRedirects(t *testing.T) {
t.Fatal(err)
}
file, err := os.Open("./test/openredirects.txt")
file, err := os.Open("./testdata/openredirects.txt")
if err != nil {
t.Fatal(err)
}