Skip to content

Commit d07eb8b

Browse files
committed
update the test_exclude to not use paths with path separators
1 parent 46c387b commit d07eb8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bootstrap/src/core/config/tests.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,7 @@ fn test_explicit_stage() {
518518

519519
#[test]
520520
fn test_exclude() {
521-
use std::path::MAIN_SEPARATOR;
522-
let exclude_path = format!("test{}codegen", MAIN_SEPARATOR);
521+
let exclude_path = "compiler";
523522
let config = parse(&format!("build.exclude=[\"{}\"]", exclude_path));
524523

525524
let first_excluded = config

0 commit comments

Comments
 (0)