mirror of https://github.com/rust-lang/async-book
Removed test for local testing
This commit is contained in:
parent
6957e04fba
commit
0f396afde7
|
@ -20,14 +20,4 @@ async fn main() {
|
|||
task::spawn(async move {process_request(&mut stream).await});
|
||||
}
|
||||
}
|
||||
// ANCHOR_END: example
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[async_std::test]
|
||||
async fn run_example() {
|
||||
main().await
|
||||
}
|
||||
}
|
||||
// ANCHOR_END: example
|
Loading…
Reference in New Issue