Skip to content

Commit

Permalink
Should not display --options for prior wizard steps once the next ste…
Browse files Browse the repository at this point in the history
…p has begun
  • Loading branch information
lincolnthree committed Aug 22, 2013
1 parent ccd3ab9 commit bb9f132
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ public void testWizardInitialStepAutocomplete() throws Exception
Assert.assertTrue(stdout.contains("--selections"));

completionStep("sel", "mockwizard --values foo --proceed --selections ");
stdout = completionStepWithSuggestions("blah --", "mockwizard --values foo --proceed --selections blah --");
Assert.assertFalse(stdout.contains("--key"));
Assert.assertTrue(stdout.contains("--done"));
}

@Test(timeout = 10000)
Expand Down

0 comments on commit bb9f132

Please sign in to comment.