Skip to content

Commit

Permalink
✅ Fix race condition
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <[email protected]>
  • Loading branch information
vankichi committed Dec 19, 2024
1 parent 4622c52 commit eb049c4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/net/http/json/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func TestMain(m *testing.M) {
}

func TestEncodeResponse(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
data any
Expand Down Expand Up @@ -109,7 +108,6 @@ func TestEncodeResponse(t *testing.T) {
}

func TestDecodeRequest(t *testing.T) {
t.Parallel()
type args struct {
r *http.Request
data map[string]string
Expand Down Expand Up @@ -179,7 +177,6 @@ func TestDecodeRequest(t *testing.T) {
}

func TestHandler(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
r *http.Request
Expand Down Expand Up @@ -333,7 +330,6 @@ func TestHandler(t *testing.T) {
}

func TestErrorHandler(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
r *http.Request
Expand Down Expand Up @@ -398,7 +394,6 @@ func TestErrorHandler(t *testing.T) {
}

func TestDecodeResponse(t *testing.T) {
t.Parallel()
type args struct {
res *http.Response
data any
Expand Down Expand Up @@ -548,7 +543,6 @@ func TestDecodeResponse(t *testing.T) {
}

func TestEncodeRequest(t *testing.T) {
t.Parallel()
type args struct {
req *http.Request
data any
Expand Down Expand Up @@ -661,7 +655,6 @@ func TestEncodeRequest(t *testing.T) {
}

func TestRequest(t *testing.T) {
t.Parallel()
type args struct {
ctx context.Context
method string
Expand Down

0 comments on commit eb049c4

Please sign in to comment.