Fix tests

This commit is contained in:
Lee Cannon 2021-06-26 21:13:00 +01:00
parent 62d287e518
commit b1fee2dad2

View File

@ -100,7 +100,7 @@ const Server = struct {
fn shutdown(self: *Server) void { fn shutdown(self: *Server) void {
self.request("shutdown", "{}", null) catch @panic("Could not send shutdown request"); self.request("shutdown", "{}", null) catch @panic("Could not send shutdown request");
waitNoError(self.process) catch |err| @panic("Server error"); waitNoError(self.process) catch @panic("Server error");
self.process.deinit(); self.process.deinit();
} }
}; };