@@ -817,7 +817,6 @@ mod test {
817
817
options. inline_config = HashMap :: from ( [ ( "version" . to_owned ( ) , "Two" . to_owned ( ) ) ] ) ;
818
818
let config = get_config ( None , Some ( options) ) ;
819
819
assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
820
- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
821
820
}
822
821
823
822
#[ nightly_only_test]
@@ -827,7 +826,6 @@ mod test {
827
826
let config_file = Some ( Path :: new ( "tests/config/style-edition/just-version" ) ) ;
828
827
let config = get_config ( config_file, Some ( options) ) ;
829
828
assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
830
- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
831
829
}
832
830
833
831
#[ nightly_only_test]
@@ -872,7 +870,6 @@ mod test {
872
870
] ) ;
873
871
let config = get_config ( None , Some ( options) ) ;
874
872
assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
875
- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
876
873
}
877
874
878
875
#[ nightly_only_test]
@@ -938,7 +935,6 @@ mod test {
938
935
options. style_edition = Some ( StyleEdition :: Edition2024 ) ;
939
936
let config = get_config ( None , Some ( options) ) ;
940
937
assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
941
- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
942
938
}
943
939
944
940
#[ nightly_only_test]
@@ -948,6 +944,8 @@ mod test {
948
944
let config_file = Some ( Path :: new ( "tests/config/style-edition/overrides" ) ) ;
949
945
let config = get_config ( config_file, Some ( options) ) ;
950
946
assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
947
+ // FIXME: this test doesn't really exercise anything, since
948
+ // `overflow_delimited_expr` is disabled by default in edition 2024.
951
949
assert_eq ! ( config. overflow_delimited_expr( ) , false ) ;
952
950
}
953
951
@@ -959,7 +957,8 @@ mod test {
959
957
options. inline_config =
960
958
HashMap :: from ( [ ( "overflow_delimited_expr" . to_owned ( ) , "false" . to_owned ( ) ) ] ) ;
961
959
let config = get_config ( config_file, Some ( options) ) ;
962
- assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
960
+ // FIXME: this test doesn't really exercise anything, since
961
+ // `overflow_delimited_expr` is disabled by default in edition 2024.
963
962
assert_eq ! ( config. overflow_delimited_expr( ) , false ) ;
964
963
}
965
964
}
0 commit comments