@@ -817,7 +817,6 @@ mod test {
817817 options. inline_config = HashMap :: from ( [ ( "version" . to_owned ( ) , "Two" . to_owned ( ) ) ] ) ;
818818 let config = get_config ( None , Some ( options) ) ;
819819 assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
820- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
821820 }
822821
823822 #[ nightly_only_test]
@@ -827,7 +826,6 @@ mod test {
827826 let config_file = Some ( Path :: new ( "tests/config/style-edition/just-version" ) ) ;
828827 let config = get_config ( config_file, Some ( options) ) ;
829828 assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
830- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
831829 }
832830
833831 #[ nightly_only_test]
@@ -872,7 +870,6 @@ mod test {
872870 ] ) ;
873871 let config = get_config ( None , Some ( options) ) ;
874872 assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
875- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
876873 }
877874
878875 #[ nightly_only_test]
@@ -938,7 +935,6 @@ mod test {
938935 options. style_edition = Some ( StyleEdition :: Edition2024 ) ;
939936 let config = get_config ( None , Some ( options) ) ;
940937 assert_eq ! ( config. style_edition( ) , StyleEdition :: Edition2024 ) ;
941- assert_eq ! ( config. overflow_delimited_expr( ) , true ) ;
942938 }
943939
944940 #[ nightly_only_test]
@@ -948,6 +944,8 @@ mod test {
948944 let config_file = Some ( Path :: new ( "tests/config/style-edition/overrides" ) ) ;
949945 let config = get_config ( config_file, Some ( options) ) ;
950946 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.
951949 assert_eq ! ( config. overflow_delimited_expr( ) , false ) ;
952950 }
953951
@@ -959,7 +957,8 @@ mod test {
959957 options. inline_config =
960958 HashMap :: from ( [ ( "overflow_delimited_expr" . to_owned ( ) , "false" . to_owned ( ) ) ] ) ;
961959 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.
963962 assert_eq ! ( config. overflow_delimited_expr( ) , false ) ;
964963 }
965964}
0 commit comments