mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
update the test_exclude to not use paths with path separators
This commit is contained in:
@@ -518,8 +518,7 @@ fn test_explicit_stage() {
|
||||
|
||||
#[test]
|
||||
fn test_exclude() {
|
||||
use std::path::MAIN_SEPARATOR;
|
||||
let exclude_path = format!("test{}codegen", MAIN_SEPARATOR);
|
||||
let exclude_path = "compiler";
|
||||
let config = parse(&format!("build.exclude=[\"{}\"]", exclude_path));
|
||||
|
||||
let first_excluded = config
|
||||
|
||||
Reference in New Issue
Block a user