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 77ebaa6 commit a404646Copy full SHA for a404646
sentry/src/test/java/io/sentry/util/runtime/NeutralRuntimeManagerTest.kt
@@ -34,9 +34,7 @@ class NeutralRuntimeManagerTest {
34
var exceptionPropagated = false
35
36
try {
37
- sut.runWithRelaxedPolicy<Unit> {
38
- throw IOException("test")
39
- }
+ sut.runWithRelaxedPolicy<Unit> { throw IOException("test") }
40
} catch (e: IOException) {
41
assertEquals("test", e.message)
42
exceptionPropagated = true
@@ -51,9 +49,7 @@ class NeutralRuntimeManagerTest {
51
49
52
50
53
54
- sut.runWithRelaxedPolicy {
55
56
+ sut.runWithRelaxedPolicy { throw IOException("test") }
57
58
59
0 commit comments