Skip to content

Commit

Permalink
Rm --target from test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed May 24, 2022
1 parent f416ef0 commit 369a5df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/testsuite/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ fn basic() {
p.cargo("build").build_std(&setup).target_host().run();
p.cargo("run").build_std(&setup).target_host().run();
p.cargo("test").build_std(&setup).target_host().run();
p.cargo("check -v").build_std(&setup).run();
p.cargo("build").build_std(&setup).run();
p.cargo("run").build_std(&setup).run();
p.cargo("test").build_std(&setup).run();
}

#[cargo_test]
Expand Down Expand Up @@ -414,7 +418,7 @@ fn target_proc_macro() {
)
.build();

p.cargo("build -v").build_std(&setup).target_host().run();
p.cargo("build -v").build_std(&setup).run();
}

// We already have `basic` which uses `proc_macro::custom_api()`. This case attempts to use
Expand Down Expand Up @@ -444,10 +448,7 @@ fn non_proc_macro_crate_uses_non_sysroot_proc_macro() {
"#,
)
.build();
p.cargo("build -v")
.build_std(&setup)
.target_host()
.run_expect_error();
p.cargo("build -v").build_std(&setup).run_expect_error();
}

#[cargo_test]
Expand Down Expand Up @@ -506,7 +507,6 @@ fn intergrated_proc_macro() {

p.cargo("run -v")
.build_std(&setup)
.target_host()
.with_stdout_contains("The answer is 42")
.run();
}
Expand Down

0 comments on commit 369a5df

Please sign in to comment.