diff --git a/tests/basic.rs b/tests/basic.rs index 75434bf..24fd5d9 100644 --- a/tests/basic.rs +++ b/tests/basic.rs @@ -769,3 +769,18 @@ fn drop_compound_file_with_stream_open() -> io::Result<()> { } //===========================================================================// +// Tests for asserting Send + Sync: + +#[test] +fn test_compound_file_send() { + fn assert_send() {} + assert_send::>(); +} + +#[test] +fn test_compound_file_sync() { + fn assert_sync() {} + assert_sync::>(); +} + +//===========================================================================//