mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 01:26:47 +01:00
fix NullPointerException in test
This commit is contained in:
parent
d1af94d257
commit
251b3ac970
@ -106,7 +106,7 @@ public class MockedTestCases {
|
||||
@Test
|
||||
public void testExecuteShellQuotesSpace() throws Exception {
|
||||
server.add("serial-123");
|
||||
server.expectShell("serial-123", "ls 'space file'");
|
||||
server.expectShell("serial-123", "ls 'space file'").returns("space file");
|
||||
JadbDevice device = connection.getDevices().get(0);
|
||||
device.executeShell("ls", "space file");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user