• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 use msg_socket::*;
6 
7 #[test]
sock_send_recv_unit()8 fn sock_send_recv_unit() {
9     let (req, res) = pair::<(), ()>().unwrap();
10     req.send(&()).unwrap();
11     let _ = res.recv().unwrap();
12 }
13