Skip to content

Commit

Permalink
[#259] fixed code layout in test
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jun 30, 2018
1 parent ee69645 commit b3fcf2f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/test/java/picocli/CommandLineModelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1646,8 +1646,7 @@ public void testSubcommandNameNotOverwrittenWhenAddedToParent() {
@Test
public void testInject_AnnotatedFieldInjected() {
class Injected {
@PicoInject
CommandSpec commandSpec;
@PicoInject CommandSpec commandSpec;
@Parameters String[] params;
}
Injected injected = new Injected();
Expand All @@ -1660,8 +1659,7 @@ class Injected {
@Test
public void testInject_AnnotatedFieldInjectedForSubcommand() {
class Injected {
@PicoInject
CommandSpec commandSpec;
@PicoInject CommandSpec commandSpec;
@Parameters String[] params;
}
Injected injected = new Injected();
Expand All @@ -1680,8 +1678,7 @@ class Injected {
@Test
public void testInject_FieldMustBeCommandSpec() {
class Injected {
@PicoInject
CommandLine commandLine;
@PicoInject CommandLine commandLine;
@Parameters String[] params;
}
Injected injected = new Injected();
Expand Down

0 comments on commit b3fcf2f

Please sign in to comment.