Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
fix: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kjuulh committed Mar 13, 2023
1 parent 2cc0231 commit 5593fce
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions crates/dagger-sdk/tests/issues/iss_30.rs
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
use dagger_sdk::{
ContainerBuildOptsBuilder, HostDirectoryOpts, QueryContainerOpts, QueryContainerOptsBuilder,
};
use dagger_sdk::{QueryContainerOpts, QueryContainerOptsBuilder};

static PLATFORMS: [&str; 2] = ["linux/arm64", "linux/x86_64"];

#[tokio::test]
async fn test_issue_30_alt() -> eyre::Result<()> {
let client = dagger_sdk::connect().await?;

let context = client.host().directory_opts(
".",
HostDirectoryOpts {
exclude: Some(vec!["target", "client/node_modules", "client/build"]),
include: None,
},
);

for platform in PLATFORMS {
let ref_ = client
.container_opts(QueryContainerOpts {
Expand All @@ -36,14 +26,6 @@ async fn test_issue_30_alt() -> eyre::Result<()> {
async fn test_issue_30() -> eyre::Result<()> {
let client = dagger_sdk::connect().await?;

let context = client.host().directory_opts(
".",
HostDirectoryOpts {
exclude: Some(vec!["target", "client/node_modules", "client/build"]),
include: None,
},
);

for platform in PLATFORMS {
let ref_ = client
.container_opts(
Expand Down

0 comments on commit 5593fce

Please sign in to comment.