mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 14:22:45 +01:00
migrate the remaining deprecated JUnit assertThat() invocations to Hamcrest
This commit is contained in:
parent
d9b484295f
commit
5b8cc744bf
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
import static org.hamcrest.CoreMatchers.equalTo;
|
||||
import static org.hamcrest.CoreMatchers.notNullValue;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
|
||||
public class SeedPeersTest {
|
||||
private static final NetworkParameters MAINNET = MainNetParams.get();
|
||||
|
|
|
@ -44,11 +44,11 @@ import static org.bitcoinj.core.Transaction.SERIALIZE_TRANSACTION_NO_WITNESS;
|
|||
import static org.bitcoinj.core.Utils.HEX;
|
||||
import static org.bitcoinj.script.ScriptOpCodes.OP_0;
|
||||
import static org.bitcoinj.script.ScriptOpCodes.OP_INVALIDOPCODE;
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
import static org.hamcrest.core.IsEqual.equalTo;
|
||||
import static org.junit.Assert.assertArrayEquals;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue