File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717load ("//lib:structs.bzl" , "structs" )
1818load ("//lib:unittest.bzl" , "asserts" , "unittest" )
1919
20- def _add_test (ctx ):
21- """Unit tests for dicts.add ."""
20+ def _to_dict_test (ctx ):
21+ """Unit tests for structs.to_dict ."""
2222 env = unittest .begin (ctx )
2323
2424 # Test zero- and one-argument behavior.
@@ -44,7 +44,7 @@ def _add_test(ctx):
4444
4545 return unittest .end (env )
4646
47- add_test = unittest .make (_add_test )
47+ to_dict_test = unittest .make (_to_dict_test )
4848
4949def _merge_test (ctx ):
5050 """Unit tests for structs.merge."""
@@ -73,6 +73,6 @@ def structs_test_suite():
7373 """Creates the test targets and test suite for structs.bzl tests."""
7474 unittest .suite (
7575 "structs_tests" ,
76- add_test ,
76+ to_dict_test ,
7777 merge_test ,
7878 )
You can’t perform that action at this time.
0 commit comments