Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Dec 20, 2020
1 parent 20d8fee commit 69d5bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/collector/app/zipkin/http_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ func TestJsonFormat(t *testing.T) {
},
{
payload: createSpan("bar", "", "1", "1", 156, 15145, false, annoJSON, binAnnoJSON),
expected: "Unable to process request body: strconv.ParseUint: parsing \"\": invalid syntax\n",
expected: "Unable to process request body: strconv.ParseUint: parsing &#34;&#34;: invalid syntax\n",
statusCode: http.StatusBadRequest,
},
{
payload: createSpan("bar", "ZTA", "1", "1", 156, 15145, false, "", ""),
expected: "Unable to process request body: strconv.ParseUint: parsing \"ZTA\": invalid syntax\n",
expected: "Unable to process request body: strconv.ParseUint: parsing &#34;ZTA&#34;: invalid syntax\n",
statusCode: http.StatusBadRequest,
},
{
Expand Down

0 comments on commit 69d5bac

Please sign in to comment.