ktor
1.6.8
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
jvm
posix
ktor-client-tests
/
io.ktor.client.tests.utils
/
assertFailsWith
assert
Fails
With
common
jvm
posix
expect
inline
fun
<
T
:
Throwable
>
assertFailsWith
(
block
:
(
)
->
Unit
)
Content copied to clipboard
Asserts that a
block
fails with a specific exception of type
T
being thrown.
actual
inline
fun
<
T
:
Throwable
>
assertFailsWith
(
block
:
(
)
->
Unit
)
Content copied to clipboard
Asserts that a
block
fails with a specific exception of type
T
being thrown.
actual
inline
fun
<
T
:
Throwable
>
assertFailsWith
(
block
:
(
)
->
Unit
)
Content copied to clipboard
Asserts that a
block
fails with a specific exception of type
T
being thrown.