Fix terminal-emulator constructor used in tests

This commit is contained in:
agnostic-apollo
2021-03-26 02:11:09 +05:00
parent 006d5abb78
commit 34bacfd5b1

View File

@@ -103,7 +103,8 @@ public abstract class TerminalTestCase extends TestCase {
}
protected TerminalTestCase withTerminalSized(int columns, int rows) {
mTerminal = new TerminalEmulator(mOutput, columns, rows, rows * 2);
// The tests aren't currently using the client, so a null client will suffice, a dummy client should be implemented if needed
mTerminal = new TerminalEmulator(mOutput, columns, rows, rows * 2, null);
return this;
}