@@ -391,6 +391,7 @@ fn test_codegen_options_tracking_hash() {
391391
392392 macro_rules! untracked {
393393 ( $name: ident, $non_default_value: expr) => {
394+ assert_ne!( opts. cg. $name, $non_default_value) ;
394395 opts. cg. $name = $non_default_value;
395396 assert_eq!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
396397 } ;
@@ -416,6 +417,7 @@ fn test_codegen_options_tracking_hash() {
416417 macro_rules! tracked {
417418 ( $name: ident, $non_default_value: expr) => {
418419 opts = reference. clone( ) ;
420+ assert_ne!( opts. cg. $name, $non_default_value) ;
419421 opts. cg. $name = $non_default_value;
420422 assert_ne!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
421423 } ;
@@ -461,6 +463,7 @@ fn test_debugging_options_tracking_hash() {
461463
462464 macro_rules! untracked {
463465 ( $name: ident, $non_default_value: expr) => {
466+ assert_ne!( opts. debugging_opts. $name, $non_default_value) ;
464467 opts. debugging_opts. $name = $non_default_value;
465468 assert_eq!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
466469 } ;
@@ -471,7 +474,7 @@ fn test_debugging_options_tracking_hash() {
471474 untracked ! ( ast_json, true ) ;
472475 untracked ! ( ast_json_noexpand, true ) ;
473476 untracked ! ( borrowck, String :: from( "other" ) ) ;
474- untracked ! ( deduplicate_diagnostics, true ) ;
477+ untracked ! ( deduplicate_diagnostics, false ) ;
475478 untracked ! ( dep_tasks, true ) ;
476479 untracked ! ( dont_buffer_diagnostics, true ) ;
477480 untracked ! ( dump_dep_graph, true ) ;
@@ -515,7 +518,7 @@ fn test_debugging_options_tracking_hash() {
515518 untracked ! ( self_profile_events, Some ( vec![ String :: new( ) ] ) ) ;
516519 untracked ! ( span_debug, true ) ;
517520 untracked ! ( span_free_formats, true ) ;
518- untracked ! ( strip, Strip :: None ) ;
521+ untracked ! ( strip, Strip :: Debuginfo ) ;
519522 untracked ! ( terminal_width, Some ( 80 ) ) ;
520523 untracked ! ( threads, 99 ) ;
521524 untracked ! ( time, true ) ;
@@ -532,6 +535,7 @@ fn test_debugging_options_tracking_hash() {
532535 macro_rules! tracked {
533536 ( $name: ident, $non_default_value: expr) => {
534537 opts = reference. clone( ) ;
538+ assert_ne!( opts. debugging_opts. $name, $non_default_value) ;
535539 opts. debugging_opts. $name = $non_default_value;
536540 assert_ne!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
537541 } ;
0 commit comments