1
Fork 0

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
No known key found for this signature in database
GPG key ID: 02911B24FDAE81DA

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