3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 23:32:16 +00:00

Don't unit test failed decryption message, that's annoying.

This commit is contained in:
Mike Hearn 2013-04-03 01:12:28 +01:00
parent 34b52c95fe
commit 42b2cfa3f0

View File

@ -1117,7 +1117,7 @@ public class WalletTest {
encryptedWallet.decrypt(wrongAesKey); encryptedWallet.decrypt(wrongAesKey);
fail("Incorrectly decoded wallet with wrong password"); fail("Incorrectly decoded wallet with wrong password");
} catch (KeyCrypterException ede) { } catch (KeyCrypterException ede) {
assertTrue("Wrong message in EncrypterDecrypterException", ede.getMessage().indexOf("Could not decrypt bytes") > -1); // Expected.
} }
} }