aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-04-15 14:57:09 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:15 +0530
commit246899a1ddb0a517846be57d04aaa7b5283710f9 (patch)
treec4d6a2d848ebbaf3fed26e3e68d0f4482292c973 /src/tests
parentFix after rebase (diff)
downloadsl0ppij-246899a1ddb0a517846be57d04aaa7b5283710f9.tar.gz
sl0ppij-246899a1ddb0a517846be57d04aaa7b5283710f9.tar.xz
sl0ppij-246899a1ddb0a517846be57d04aaa7b5283710f9.zip
Remove ErrorContext from IpcSender and nit fixes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fakes.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs
index 271edde0..7b4589c3 100644
--- a/src/tests/fakes.rs
+++ b/src/tests/fakes.rs
@@ -196,7 +196,6 @@ impl ClientOsApi for FakeInputOutput {
fn send_to_server(&self, msg: ServerInstruction) {
self.server_sender.send(msg).unwrap();
}
- fn update_senders(&mut self, new_ctx: ErrorContext) {}
fn connect_to_server(&mut self, full_screen_ws: PositionAndSize) {
ClientOsApi::send_to_server(
self,
@@ -284,9 +283,8 @@ impl ServerOsApi for FakeInputOutput {
fn server_recv(&self) -> (ServerInstruction, ErrorContext) {
self.server_receiver.lock().unwrap().recv().unwrap()
}
- fn send_to_client(&mut self, msg: ClientInstruction) {
+ fn send_to_client(&self, msg: ClientInstruction) {
self.client_sender.send(msg).unwrap();
}
fn add_client_sender(&mut self, _buffer_path: String) {}
- fn update_senders(&mut self, new_ctx: ErrorContext) {}
}