aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-03-26 13:13:00 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:47:52 +0530
commit813547483f1e08f11bfa3bcca35d91e33ee96111 (patch)
tree56ba50981d111338181c4dcf8801546780285e65 /src/tests
parentAdd router thread on server side as well (diff)
downloadsl0ppij-813547483f1e08f11bfa3bcca35d91e33ee96111.tar.gz
sl0ppij-813547483f1e08f11bfa3bcca35d91e33ee96111.tar.xz
sl0ppij-813547483f1e08f11bfa3bcca35d91e33ee96111.zip
Rename notify_server to connect_to_server
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fakes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs
index 32dde38f..edfd1247 100644
--- a/src/tests/fakes.rs
+++ b/src/tests/fakes.rs
@@ -189,7 +189,7 @@ impl ClientOsApi for FakeInputOutput {
self.server_sender.update(new_ctx);
self.client_sender.update(new_ctx);
}
- fn notify_server(&mut self) {
+ fn connect_to_server(&mut self) {
ClientOsApi::send_to_server(self, ServerInstruction::NewClient("zellij".into()));
}
fn client_recv(&self) -> (ClientInstruction, ErrorContext) {