Skip to content

Commit

Permalink
Modify test - add setIn()
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoore committed Jan 8, 2024
1 parent 0c06894 commit 455980d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/resources/test-scripts/interpreter.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fout.close();
Interpreter.main(new String[] {"test_interpreter.out"});
System.setOut(sysout);
System.setErr(syserr);
System.setIn(sysin);
new File("test_interpreter.out").delete();

assert(isEvalError("bsh Interpreter: No stream", "new Interpreter().run();"));
Expand Down

0 comments on commit 455980d

Please sign in to comment.