diff options
author | Valery Piashchynski <[email protected]> | 2021-05-27 00:13:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-27 00:13:54 +0300 |
commit | cfaf3e5f8465d188546ef83600ad13c7dbde778c (patch) | |
tree | 982e5498e2a92561a83ef9dc8b9669b0bafebc50 /tests/plugins/http/parse_test.go | |
parent | dc3c5455e5c9b32737a0620c8bdb8bda0226dba7 (diff) |
- Fix naming after bulk refactoring handler2 -> handler
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http/parse_test.go')
-rw-r--r-- | tests/plugins/http/parse_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/plugins/http/parse_test.go b/tests/plugins/http/parse_test.go index 832ecde4..32738ae0 100644 --- a/tests/plugins/http/parse_test.go +++ b/tests/plugins/http/parse_test.go @@ -3,7 +3,7 @@ package http import ( "testing" - handler2 "github.com/spiral/roadrunner/v2/pkg/worker_handler" + "github.com/spiral/roadrunner/v2/pkg/worker_handler" ) var samples = []struct { @@ -21,7 +21,7 @@ var samples = []struct { func Test_FetchIndexes(t *testing.T) { for i := 0; i < len(samples); i++ { - r := handler2.FetchIndexes(samples[i].in) + r := handler.FetchIndexes(samples[i].in) if !same(r, samples[i].out) { t.Errorf("got %q, want %q", r, samples[i].out) } @@ -31,7 +31,7 @@ func Test_FetchIndexes(t *testing.T) { func BenchmarkConfig_FetchIndexes(b *testing.B) { for _, tt := range samples { for n := 0; n < b.N; n++ { - r := handler2.FetchIndexes(tt.in) + r := handler.FetchIndexes(tt.in) if !same(r, tt.out) { b.Fail() } |