Skip to content

Commit 1efcd3a

Browse files
committed
Actually forward the error to the test executor
1 parent f21e958 commit 1efcd3a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

integration/main.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ enum Error{
2828
const VERSION: &str = env!("CARGO_PKG_VERSION");
2929
#[tokio::main]
3030
async fn main() {
31-
println!("Hello");
32-
match test().await {
33-
Ok(()) => {}
34-
Err(e) => eprint!("{e}")
35-
}
36-
}
37-
async fn test() -> Result<(), anyhow::Error>{
3831
dotenv::dotenv().map_err(|e|Error::DotenvInitError(e))?;
3932
let username = dotenv::var("USERNAME").map_err(|e|Error::NoUsername(e))?;
4033
let password = dotenv::var("PASSWORD").map_err(|e|Error::NoPassword(e))?;

0 commit comments

Comments
 (0)