Skip to content

Commit fd2b3e9

Browse files
committed
Fixed test as this test exception is now eligible for copying, too
1 parent ee7325e commit fd2b3e9

File tree

1 file changed

+1
-1
lines changed
  • integration/kotlinx-coroutines-play-services/test

1 file changed

+1
-1
lines changed

integration/kotlinx-coroutines-play-services/test/TaskTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class TaskTest : TestBase() {
140140
} catch (e: Exception) {
141141
assertTrue(e is TestException)
142142
assertEquals("something went wrong", e.message)
143-
assertSame(e, deferred.getCompletionExceptionOrNull())
143+
assertSame(e.cause, deferred.getCompletionExceptionOrNull()) // debug mode stack augmentation
144144
}
145145
}
146146

0 commit comments

Comments
 (0)