update the test_exclude to not use paths with path separators

This commit is contained in:
bit-aloo
2025-03-09 16:29:42 +05:30
parent 9d5f0742a9
commit c6ecd8c95c
+1 -2
View File
@@ -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