Skip to content

Commit d9ce80b

Browse files
committed
test(unused-detection): fix rail.toml targets placement for
cross-platform target-specific test
1 parent 55f2aad commit d9ce80b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/integration/test_unused_detection.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,7 @@ fn test_unused_detection_target_specific_unconfigured_not_flagged() -> Result<()
327327
let workspace = create_workspace_with_unused_detection()?;
328328

329329
// Config with only linux target (no windows)
330-
let config = r#"[workspace]
331-
root = "."
332-
targets = ["x86_64-unknown-linux-gnu"]
330+
let config = r#"targets = ["x86_64-unknown-linux-gnu"]
333331
334332
[unify]
335333
detect_unused = true

0 commit comments

Comments
 (0)