We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ec618 commit c541368Copy full SHA for c541368
1 file changed
sentry/src/test/java/io/sentry/DsnTest.kt
@@ -98,19 +98,13 @@ class DsnTest {
98
@Test
99
fun `when dsn is empty, throws exception`() {
100
val ex = assertFailsWith<IllegalArgumentException> { Dsn("") }
101
- assertEquals(
102
- "java.lang.IllegalArgumentException: The DSN is empty.",
103
- ex.message,
104
- )
+ assertEquals("java.lang.IllegalArgumentException: The DSN is empty.", ex.message)
105
}
106
107
108
fun `when dsn is only whitespace, throws exception`() {
109
val ex = assertFailsWith<IllegalArgumentException> { Dsn(" ") }
110
111
112
113
114
115
116
0 commit comments