Skip to content

Commit

Permalink
Fix whitespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeliasCode committed Dec 20, 2024
1 parent ccd2fd0 commit 42e19aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/bzlmod/rules_license_metadata/license_check_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_license_info_from_spec(self):
# If this dependency is ever changed, you may need to update this test to reflect that
def check_license(self, file_name, top_level_target):
info = load_licenses_info(os.path.join(os.path.dirname(__file__), file_name))
self.assertEqual(len(info), 1)
self.assertEqual(len(info), 1)
all_crate_deps = info[0]
self.assertEqual(all_crate_deps["top_level_target"], top_level_target)
self.assertEqual(len(all_crate_deps["dependencies"]), 3)
Expand Down Expand Up @@ -59,5 +59,6 @@ def check_license(self, file_name, top_level_target):
self.assertTrue(apache_found, "Apache-2.0 license not found.")
self.assertTrue(mit_found, "MIT license not found.")


if __name__ == "__main__":
unittest.main(verbosity=3)

0 comments on commit 42e19aa

Please sign in to comment.