mirror of
https://github.com/fankes/termux-app.git
synced 2025-10-24 20:59:20 +08:00
Fix terminal-emulator constructor used in tests
This commit is contained in:
@@ -103,7 +103,8 @@ public abstract class TerminalTestCase extends TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected TerminalTestCase withTerminalSized(int columns, int rows) {
|
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;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user