Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
guscarreon committed Feb 13, 2024
1 parent 84f852b commit b6b8ba5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions endpoints/openrtb2/auction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ func TestJsonSampleRequests(t *testing.T) {
}
}

func TestSingleJSONTest(t *testing.T) {
runJsonBasedTest(t, "sample-requests/valid-whole/exemplary/simple.json", "")
}

func runJsonBasedTest(t *testing.T, filename, desc string) {
t.Helper()

Expand Down
3 changes: 1 addition & 2 deletions router/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,5 @@ func TestBidderParamsCompactedOutput(t *testing.T) {
handler(recorder, request, nil)

// Assertions
assert.True(t, strings.HasPrefix(recorder.Body.String(), expected))
//assert.Equal(t, expected, recorder.Body.String())
assert.True(t, strings.HasPrefix(recorder.Body.String(), expectedPrefix))
}

0 comments on commit b6b8ba5

Please sign in to comment.