Skip to content

Commit

Permalink
test: mark testsuite locate_project with deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
henry40408 committed Jun 19, 2024
1 parent 5d44b52 commit ca116ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testsuite/locate_project.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//! Tests for the `cargo locate-project` command.

#![allow(deprecated)]

use cargo_test_support::project;

#[cargo_test]
#[allow(deprecated)]
fn simple() {
let p = project().build();

Expand All @@ -13,7 +14,6 @@ fn simple() {
}

#[cargo_test]
#[allow(deprecated)]
fn message_format() {
let p = project().build();

Expand All @@ -32,7 +32,6 @@ fn message_format() {
}

#[cargo_test]
#[allow(deprecated)]
fn workspace() {
let p = project()
.file(
Expand Down

0 comments on commit ca116ce

Please sign in to comment.