prompt text is read after each command exec
allows the prompt to be changed in dynamic envs
This commit is contained in:
@@ -52,6 +52,6 @@ public class DefaultPromptProviderTest {
|
||||
*/
|
||||
@Test
|
||||
public void testGetPromptText() {
|
||||
assertEquals("spring-shell>", prompt.getPrompt());
|
||||
assertTrue(prompt.getPrompt().startsWith("spring-shell>"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user