mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Move thrown.expect() calls to line immediately before failing call
Plus some misc formatting cleanup ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136817377
This commit is contained in:
parent
4cfe107475
commit
5240773dd1
3 changed files with 85 additions and 85 deletions
|
@ -299,13 +299,13 @@ public class MutatingCommandTest {
|
|||
|
||||
@Test
|
||||
public void testFailure_nullEntityChange() throws Exception {
|
||||
thrown.expect(IllegalArgumentException.class);
|
||||
MutatingCommand command = new MutatingCommand() {
|
||||
@Override
|
||||
protected void init() {
|
||||
stageEntityChange(null, null);
|
||||
}
|
||||
};
|
||||
thrown.expect(IllegalArgumentException.class);
|
||||
command.init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue