Add test for Instance, fix tests for ImportObject

This commit is contained in:
Mark McCaskey
2019-09-23 11:04:31 -07:00
parent 9c205e05a2
commit 05ad1aaea4
3 changed files with 28 additions and 13 deletions

View File

@ -752,3 +752,15 @@ impl<'a> DynFunc<'a> {
}
}
}
#[cfg(test)]
mod test {
use super::*;
fn is_send<T: Send>() {}
#[test]
fn test_instance_is_send() {
is_send::<Instance>();
}
}