@@ -65,7 +65,7 @@ is_proc_macro_dep_is_not_in_env_for_top_level_action_test = analysistest.make(_i
6565def _is_proc_macro_dep_is_false_for_proc_macro (ctx ):
6666 env = analysistest .begin (ctx )
6767 tut = analysistest .target_under_test (env )
68- proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust proc-macro proc_macro_crate (1 files )'" ][0 ]
68+ proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust proc-macro proc_macro_crate (1 file )'" ][0 ]
6969 asserts .equals (env , proc_macro_dep_action .env ["BAZEL_RULES_RUST_IS_PROC_MACRO_DEP" ], "0" )
7070 return analysistest .end (env )
7171
@@ -74,7 +74,7 @@ is_proc_macro_dep_is_false_for_proc_macro_test = analysistest.make(_is_proc_macr
7474def _is_proc_macro_dep_is_false_for_top_level_library (ctx ):
7575 env = analysistest .begin (ctx )
7676 tut = analysistest .target_under_test (env )
77- top_level_library_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib top_level_library (1 files )'" ][0 ]
77+ top_level_library_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib top_level_library (1 file )'" ][0 ]
7878 asserts .equals (env , top_level_library_action .env ["BAZEL_RULES_RUST_IS_PROC_MACRO_DEP" ], "0" )
7979 return analysistest .end (env )
8080
@@ -83,7 +83,7 @@ is_proc_macro_dep_is_false_for_top_level_library_test = analysistest.make(_is_pr
8383def _is_proc_macro_dep_is_true_for_proc_macro_dep (ctx ):
8484 env = analysistest .begin (ctx )
8585 tut = analysistest .target_under_test (env )
86- proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib proc_macro_dep (1 files )'" ][0 ]
86+ proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib proc_macro_dep (1 file )'" ][0 ]
8787 asserts .equals (env , proc_macro_dep_action .env ["BAZEL_RULES_RUST_IS_PROC_MACRO_DEP" ], "1" )
8888 return analysistest .end (env )
8989
@@ -92,7 +92,7 @@ is_proc_macro_dep_is_true_for_proc_macro_dep_test = analysistest.make(_is_proc_m
9292def _is_proc_macro_dep_is_not_in_env_for_proc_macro_dep (ctx ):
9393 env = analysistest .begin (ctx )
9494 tut = analysistest .target_under_test (env )
95- proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib proc_macro_dep (1 files )'" ][0 ]
95+ proc_macro_dep_action = [a for a in tut [DepActionsInfo ].actions if str (a ) == "action 'Compiling Rust rlib proc_macro_dep (1 file )'" ][0 ]
9696 asserts .true (env , "BAZEL_RULES_RUST_IS_PROC_MACRO_DEP" not in proc_macro_dep_action .env )
9797 return analysistest .end (env )
9898
0 commit comments