mirror of
https://github.com/revanced/jadb.git
synced 2024-11-19 10:39:23 +01:00
fix NullPointerException in test
This commit is contained in:
parent
d1af94d257
commit
251b3ac970
@ -106,7 +106,7 @@ public class MockedTestCases {
|
|||||||
@Test
|
@Test
|
||||||
public void testExecuteShellQuotesSpace() throws Exception {
|
public void testExecuteShellQuotesSpace() throws Exception {
|
||||||
server.add("serial-123");
|
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);
|
JadbDevice device = connection.getDevices().get(0);
|
||||||
device.executeShell("ls", "space file");
|
device.executeShell("ls", "space file");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user