Skip to content

Commit c7e82d5

Browse files
committed
Fix failing test.
1 parent 6ce0612 commit c7e82d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/trace/listener_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func TestStartFunctionExecutionSpanFromXrayWithMergeEnabled(t *testing.T) {
8282

8383
assert.Equal(t, "aws.lambda", finishedSpan.OperationName())
8484

85-
assert.Equal(t, true, finishedSpan.Tag("cold_start"))
85+
assert.Equal(t, "true", finishedSpan.Tag("cold_start"))
8686
// We expect the function ARN to be lowercased, and the version removed
8787
assert.Equal(t, "arn:aws:lambda:us-east-1:123456789012:function:myfunction", finishedSpan.Tag("function_arn"))
8888
assert.Equal(t, "11", finishedSpan.Tag("function_version"))

0 commit comments

Comments
 (0)