Skip to content

Commit 08cc8e2

Browse files
committed
fix lint
1 parent 3aa9f9c commit 08cc8e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sdk/internal/telemetry/id_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package telemetry
66
import (
77
"encoding/json"
88
"errors"
9-
"fmt"
109
"testing"
1110

1211
"github.com/stretchr/testify/require"
@@ -100,7 +99,7 @@ func TestInvalidSpanID(t *testing.T) {
10099
{
101100
Name: "invalid hex id",
102101
Input: []byte(`"234abcacgfdfgrty"`),
103-
ExpectErr: fmt.Errorf("cannot unmarshal ID from string"),
102+
ExpectErr: errors.New("cannot unmarshal ID from string"),
104103
},
105104
}
106105

0 commit comments

Comments
 (0)