mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Remove noop from test that expects no noop
This commit is contained in:
parent
78a891d364
commit
4279bd56fc
@ -67,9 +67,7 @@ async fn joined() {
|
||||
let c = Big::new();
|
||||
|
||||
fut().await;
|
||||
noop();
|
||||
joiner = Joiner { a: Some(a), b: Some(b), c: Some(c) };
|
||||
noop();
|
||||
}
|
||||
|
||||
async fn joined_with_noop() {
|
||||
@ -97,7 +95,7 @@ async fn join_retval() -> Joiner {
|
||||
fn main() {
|
||||
assert_eq!(2, std::mem::size_of_val(&single()));
|
||||
assert_eq!(3, std::mem::size_of_val(&single_with_noop()));
|
||||
assert_eq!(3078, std::mem::size_of_val(&joined()));
|
||||
assert_eq!(3074, std::mem::size_of_val(&joined()));
|
||||
assert_eq!(3078, std::mem::size_of_val(&joined_with_noop()));
|
||||
assert_eq!(3074, std::mem::size_of_val(&join_retval()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user