test: fix assert message

This commit is contained in:
Lucaskyy 2022-03-24 23:31:01 +01:00 committed by oSumAtrIX
parent cbd8df2df0
commit fa6e454ae9
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -157,7 +157,9 @@ internal class PatcherTest {
fun `should not raise an exception if any signature member except the name is missing`() { fun `should not raise an exception if any signature member except the name is missing`() {
val sigName = "testMethod" val sigName = "testMethod"
assertDoesNotThrow("Should raise an exception because opcodes is empty") { assertDoesNotThrow(
"Should not raise an exception if any signature member except the name is missing"
) {
Patcher( Patcher(
PatcherTest::class.java.getResourceAsStream("/test1.jar")!!, PatcherTest::class.java.getResourceAsStream("/test1.jar")!!,
ByteArrayOutputStream(), ByteArrayOutputStream(),