From 297a8cbb1d0849fc3ce518c96e07b6d7a1e2f623 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 16 Feb 2015 10:29:53 +0100 Subject: Add test for WindowProxy to implement Send --- tests/window_proxy_send.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/window_proxy_send.rs diff --git a/tests/window_proxy_send.rs b/tests/window_proxy_send.rs new file mode 100644 index 0000000..559e7fe --- /dev/null +++ b/tests/window_proxy_send.rs @@ -0,0 +1,9 @@ +extern crate glutin; + +#[cfg(feature = "window")] +#[test] +fn window_proxy_send() { + // ensures that `glutin::WindowProxy` implements `Send` + fn needs_send() {} + needs_send::(); +} -- cgit v1.2.3