remove unnecessary features from async-std & tokio
This commit is contained in:
+2
-1
@@ -68,7 +68,8 @@ fn fruits_sync() {
|
||||
#[cfg(feature = "async_tokio")]
|
||||
#[test]
|
||||
fn fruits_async_tokio() {
|
||||
tokio::runtime::Runtime::new()
|
||||
tokio::runtime::Builder::new_current_thread()
|
||||
.build()
|
||||
.expect("could not start runtime")
|
||||
.block_on(async {
|
||||
for result in RESULTS {
|
||||
|
||||
+2
-1
@@ -68,7 +68,8 @@ fn mania_sync() {
|
||||
#[cfg(feature = "async_tokio")]
|
||||
#[test]
|
||||
fn mania_async_tokio() {
|
||||
tokio::runtime::Runtime::new()
|
||||
tokio::runtime::Builder::new_current_thread()
|
||||
.build()
|
||||
.expect("could not start runtime")
|
||||
.block_on(async {
|
||||
for result in RESULTS {
|
||||
|
||||
+2
-1
@@ -82,7 +82,8 @@ fn osu_sync() {
|
||||
#[cfg(feature = "async_tokio")]
|
||||
#[test]
|
||||
fn osu_async_tokio() {
|
||||
tokio::runtime::Runtime::new()
|
||||
tokio::runtime::Builder::new_current_thread()
|
||||
.build()
|
||||
.expect("could not start runtime")
|
||||
.block_on(async {
|
||||
for result in RESULTS {
|
||||
|
||||
+2
-1
@@ -68,7 +68,8 @@ fn taiko_sync() {
|
||||
#[cfg(feature = "async_tokio")]
|
||||
#[test]
|
||||
fn taiko_async_tokio() {
|
||||
tokio::runtime::Runtime::new()
|
||||
tokio::runtime::Builder::new_current_thread()
|
||||
.build()
|
||||
.expect("could not start runtime")
|
||||
.block_on(async {
|
||||
for result in RESULTS {
|
||||
|
||||
Reference in New Issue
Block a user