Skip to content

Commit f287714

Browse files
committed
Format code
1 parent 8628ab9 commit f287714

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sentry/src/test/java/io/sentry/transport/RateLimiterTest.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ import io.sentry.Attachment
44
import io.sentry.CheckIn
55
import io.sentry.CheckInStatus
66
import io.sentry.DataCategory.Replay
7+
import io.sentry.EnvelopeReader
78
import io.sentry.Hint
89
import io.sentry.ILogger
910
import io.sentry.IScopes
1011
import io.sentry.ISerializer
12+
import io.sentry.JsonSerializer
1113
import io.sentry.NoOpLogger
1214
import io.sentry.ProfileChunk
1315
import io.sentry.ProfilingTraceData
1416
import io.sentry.ReplayRecording
15-
import io.sentry.EnvelopeReader
16-
import io.sentry.JsonSerializer
1717
import io.sentry.SentryEnvelope
1818
import io.sentry.SentryEnvelopeHeader
1919
import io.sentry.SentryEnvelopeItem
@@ -543,7 +543,8 @@ class RateLimiterTest {
543543
// There is no span API yet so we'll create the envelope manually using EnvelopeReader
544544
// This mimics how hybrid SDKs would send span v2 envelope items
545545
val spanPayload = """{"items":[]}"""
546-
val spanItemHeader = """{"type":"span","length":${spanPayload.length},"content_type":"application/vnd.sentry.items.span.v2+json","item_count":1}"""
546+
val spanItemHeader =
547+
"""{"type":"span","length":${spanPayload.length},"content_type":"application/vnd.sentry.items.span.v2+json","item_count":1}"""
547548
val envelopeHeader = """{}"""
548549
val rawEnvelope = "$envelopeHeader\n$spanItemHeader\n$spanPayload"
549550

0 commit comments

Comments
 (0)