Skip to content

Commit 6223546

Browse files
committed
remove unnecessary test
1 parent a0872d0 commit 6223546

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sentry/src/test/java/io/sentry/ScopeTest.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -906,18 +906,6 @@ class ScopeTest {
906906
assertTrue(cloned.attachments is CopyOnWriteArrayList)
907907
}
908908

909-
@Test
910-
fun `getAttachments returns new instance`() {
911-
val scope = Scope(SentryOptions())
912-
scope.addAttachment(Attachment(""))
913-
914-
assertNotSame(
915-
scope.attachments,
916-
scope.attachments,
917-
"Scope.attachments must return a new instance on each call."
918-
)
919-
}
920-
921909
@Test
922910
fun `clearAttachments clears all attachments`() {
923911
val scope = Scope(SentryOptions())

0 commit comments

Comments
 (0)