mirror of
https://github.com/revanced/jadb.git
synced 2024-11-19 10:39:23 +01:00
Fixing a problem in the mock where failed expectations did not throw.
This commit is contained in:
parent
5b0e0025b8
commit
77814e09d4
@ -108,7 +108,7 @@ public class FakeAdbServer implements AdbResponder {
|
||||
return;
|
||||
}
|
||||
}
|
||||
new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||
throw new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -122,7 +122,7 @@ public class FakeAdbServer implements AdbResponder {
|
||||
return;
|
||||
}
|
||||
}
|
||||
new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||
throw new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||
}
|
||||
|
||||
public void verifyExpectations() {
|
||||
|
Loading…
Reference in New Issue
Block a user