Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Aug 9, 2023
1 parent 8dfe036 commit 403d006
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,3 +713,11 @@ func TestCustomMaxSpansProperty(t *testing.T) {

assertEqual(t, properClient.Options().MaxSpans, 3000)
}

func TestSDKIdentifier(t *testing.T) {
client, _, _ := setupClientTest()
assertEqual(t, client.GetSDKIdentifier(), "sentry.go")

client.SetSDKIdentifier("sentry.go.test")
assertEqual(t, client.GetSDKIdentifier(), "sentry.go.test")
}

0 comments on commit 403d006

Please sign in to comment.