mirror of
https://github.com/google/nomulus
synced 2026-07-30 20:12:48 +00:00
Automatically refactor more exception testing to use new JUnit rules
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179072309
This commit is contained in:
@@ -92,13 +92,6 @@ public class LoadTestCommandTest extends CommandTestCase<LoadTestCommand> {
|
||||
eq(MediaType.PLAIN_TEXT_UTF_8),
|
||||
eq(new byte[0]));
|
||||
}
|
||||
@Test
|
||||
public void test_prompt() throws Exception {
|
||||
thrown.expect(IllegalStateException.class);
|
||||
runCommand();
|
||||
verifyZeroInteractions(connection);
|
||||
assertInStderr("Unable to access stdin (are you running with bazel run?)");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test_badTLD() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user