diff --git a/src/test/java/samTextViewer/InteractiveInputTest.java b/src/test/java/samTextViewer/InteractiveInputTest.java index 9921595..b25cf34 100644 --- a/src/test/java/samTextViewer/InteractiveInputTest.java +++ b/src/test/java/samTextViewer/InteractiveInputTest.java @@ -237,7 +237,7 @@ public void canHandleSessionNameNotFound() InvalidCommandLineException { new Config(null); TrackProcessor proc = this.gimmeTrackProcessor("chr7:1001-1800", 80); - InteractiveInput ip = new InteractiveInput(new ConsoleReader(), 0); + InteractiveInput ip = new InteractiveInput(new ConsoleReader(), 1); ProcessInput pi = this.processInput(ip, "session open -f test_data/session.yaml spam", proc); assertEquals("bar", pi.stderr); // assertTrue(pi.stderr.contains("Cannot find session with name 'spam'"));