blob: 9855752f83c10f5d00cf6b4cd7eee4c1a89ee6a8 [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use msg_socket::*;
#[test]
fn sock_send_recv_unit() {
let (req, res) = pair::<(), ()>().unwrap();
req.send(&()).unwrap();
let _ = res.recv().unwrap();
}