Skip to content

Commit

Permalink
Update trace/trace_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
euskadi31 and MrAlias committed Jun 16, 2021
1 parent e009659 commit da7239b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions trace/trace_test.go
Expand Up @@ -203,9 +203,7 @@ func TestSpanIDFromHex(t *testing.T) {

if testcase.valid && err != nil {
t.Errorf("Expected SpanID %s to be valid but end with error %s", testcase.hex, err.Error())
}

if !testcase.valid && err == nil {
} else if !testcase.valid && err == nil {
t.Errorf("Expected SpanID %s to be invalid but end no error", testcase.hex)
}

Expand Down

0 comments on commit da7239b

Please sign in to comment.