Skip to content

Commit ea2e095

Browse files
Chore: Fix Copilot findings
1 parent bcda4d6 commit ea2e095

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

scripts_bazel/tests/generate_sourcelinks_cli_test.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ def assert_json_internal_types(input: list[dict[str, str | int]]):
6262
)
6363
def test_clean_external_prefix(input_path: Path, expected_output: Path):
6464
output = scripts_bazel.generate_sourcelinks_cli.clean_external_prefix(input_path)
65-
print(f"{input_path} => {output}")
66-
67-
assert (
68-
scripts_bazel.generate_sourcelinks_cli.clean_external_prefix(input_path)
69-
== expected_output
70-
)
65+
assert output == expected_output
7166

7267

7368
def test_generate_sourcelinks_cli_basic(

scripts_bazel/tests/merge_sourcelinks_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def test_merge_sourcelinks_with_one_empty_file(
175175
]
176176
file1.write_text(json.dumps(file1_text))
177177
file2 = tmp_path / "links2.json"
178-
file2.write_text(json.dumps({}))
178+
file2.write_text(json.dumps([]))
179179
output_file = tmp_path / "merged.json"
180180
test_args: list[Path | str] = [
181181
_MY_PATH.parent

0 commit comments

Comments
 (0)