@@ -584,30 +584,14 @@ fn test_macro_fallback_non_system_dir() {
584
584
585
585
let actual = format_code ( actual) . unwrap ( ) ;
586
586
587
- let ( expected_filename, expected) = match clang_version ( ) . parsed {
588
- Some ( ( 9 , _) ) => {
589
- let expected_filename = concat ! (
590
- env!( "CARGO_MANIFEST_DIR" ) ,
591
- "/tests/expectations/tests/libclang-9/macro_fallback_non_system_dir.rs" ,
592
- ) ;
593
- let expected = include_str ! ( concat!(
594
- env!( "CARGO_MANIFEST_DIR" ) ,
595
- "/tests/expectations/tests/libclang-9/macro_fallback_non_system_dir.rs" ,
596
- ) ) ;
597
- ( expected_filename, expected)
598
- }
599
- _ => {
600
- let expected_filename = concat ! (
601
- env!( "CARGO_MANIFEST_DIR" ) ,
602
- "/tests/expectations/tests/test_macro_fallback_non_system_dir.rs" ,
603
- ) ;
604
- let expected = include_str ! ( concat!(
605
- env!( "CARGO_MANIFEST_DIR" ) ,
606
- "/tests/expectations/tests/test_macro_fallback_non_system_dir.rs" ,
607
- ) ) ;
608
- ( expected_filename, expected)
609
- }
610
- } ;
587
+ let expected_filename = concat ! (
588
+ env!( "CARGO_MANIFEST_DIR" ) ,
589
+ "/tests/expectations/tests/macro_fallback_non_system_dir.rs" ,
590
+ ) ;
591
+ let expected = include_str ! ( concat!(
592
+ env!( "CARGO_MANIFEST_DIR" ) ,
593
+ "/tests/expectations/tests/macro_fallback_non_system_dir.rs" ,
594
+ ) ) ;
611
595
let expected = format_code ( expected) . unwrap ( ) ;
612
596
if expected != actual {
613
597
error_diff_mismatch (
0 commit comments