We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea13ff7 commit d9ceab9Copy full SHA for d9ceab9
src/bootstrap/src/core/config/tests.rs
@@ -515,3 +515,17 @@ fn test_explicit_stage() {
515
assert!(!config.explicit_stage_from_config);
516
assert!(!config.is_explicit_stage());
517
}
518
+
519
+#[test]
520
+fn test_exclude() {
521
+ let config = parse("build.exclude=[\"test/codegen\"]");
522
523
+ let first_excluded = config
524
+ .skip
525
+ .first()
526
+ .expect("Expected at least one excluded path")
527
+ .to_str()
528
+ .expect("Failed to convert excluded path to string");
529
530
+ assert_eq!(first_excluded, "test/codegen");
531
+}
0 commit comments