Skip to content

Commit fbe6e26

Browse files
committed
Update structs.to_dict test function name
Copy/paste error.
1 parent 9af7668 commit fbe6e26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/structs_tests.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
load("//lib:structs.bzl", "structs")
1818
load("//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

4949
def _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
)

0 commit comments

Comments
 (0)