git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #820 from johejo/fix_testdata

Rename test directory to testdata

commit581c6c32592e31ac68da849689252521bfc64057 authorJoel Speed <Joel.speed@hotmail.co.uk> dateTue 6 Oct 2020, 13:45 (6 years ago) parent3d203a15c62690
3 files changed+2−1
CHANGELOG.md+1 oauthproxy_test.go+1−1 test/openredirects.txt → testdata/openredirects.txt
CHANGELOG.md+1
@@ -32,6 +32,7 @@
3232- [#783](https://github.com/oauth2-proxy/oauth2-proxy/pull/783) Update Go to 1.15 (@johejo)
3333- [#813](https://github.com/oauth2-proxy/oauth2-proxy/pull/813) Fix build (@thiagocaiubi)
3434- [#750](https://github.com/oauth2-proxy/oauth2-proxy/pull/750) ci: Migrate to Github Actions (@shinebayar-g)
35+- [#829](https://github.com/oauth2-proxy/oauth2-proxy/pull/820) Rename test directory to testdata (@johejo)
3536
3637# v6.1.1
3738
oauthproxy_test.go+1−1
@@ -330,7 +330,7 @@ func TestOpenRedirects(t *testing.T) {
330330 t.Fatal(err)
331331 }
332332
333− file, err := os.Open("./test/openredirects.txt")
333+ file, err := os.Open("./testdata/openredirects.txt")
334334 if err != nil {
335335 t.Fatal(err)
336336 }
test/openredirects.txt → testdata/openredirects.txtrenamed

The content is the same.