Skip to content

Commit

Permalink
go: use preexisting constant for testmain filename (pantsbuild#17988)
Browse files Browse the repository at this point in the history
Missed a spot when switching over to a constant for the name of the generated "testmain" file.
  • Loading branch information
tdyas authored Jan 13, 2023
1 parent 8df47e2 commit 0238a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/backend/go/util_rules/tests_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def generate_testmain(request: GenerateTestMainRequest) -> GeneratedTestMa
env=env,
description=f"Analyze Go test sources for {request.address}",
level=LogLevel.DEBUG,
output_files=("_testmain.go",),
output_files=(GeneratedTestMain.TEST_MAIN_FILE,),
),
)

Expand Down

0 comments on commit 0238a66

Please sign in to comment.