Skip to content

chore(internal/librarian/php): fix table driven test structure - #6712

Merged
zhumin8 merged 1 commit into
googleapis:mainfrom
zhumin8:fix-test-format
Jul 9, 2026
Merged

chore(internal/librarian/php): fix table driven test structure#6712
zhumin8 merged 1 commit into
googleapis:mainfrom
zhumin8:fix-test-format

Conversation

@zhumin8

@zhumin8 zhumin8 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Followup to #6703.

For #6629

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the table-driven test TestGapicOpts in internal/librarian/php/generate_test.go by inlining the test cases slice directly into the for range loop header and wrapping some long lines. The reviewer recommends reverting the inlining of the test cases to maintain the standard, idiomatic Go structure for table-driven tests, which improves readability and consistency.

Comment thread internal/librarian/php/generate_test.go
@zhumin8
zhumin8 marked this pull request as ready for review July 9, 2026 01:47
@zhumin8
zhumin8 requested a review from a team as a code owner July 9, 2026 01:47
@zhumin8
zhumin8 enabled auto-merge (squash) July 9, 2026 01:47
@zhumin8
zhumin8 merged commit 9f9abb3 into googleapis:main Jul 9, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants