Skip to content

Commit

Permalink
fix: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyob committed Sep 23, 2024
1 parent 0e210fc commit 3587d4e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/jstzd/tests/dummy.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
use bollard::Docker;
use bollard::{Docker, API_DEFAULT_VERSION};
use jstzd::main;

#[tokio::test]
async fn test_main() {
let docker = Docker::connect_with_unix_defaults().unwrap();
let docker = Docker::connect_with_unix(
"unix:///var/run/docker.sock",
120,
API_DEFAULT_VERSION,
)
.unwrap();
let version = docker.version().await.unwrap();
println!("{:?}", version);

Expand Down

0 comments on commit 3587d4e

Please sign in to comment.