Skip to content

refactor(testutil): rename internal/test to internal/testutil - #464

Open
thde wants to merge 1 commit into
thde/352-06-cli-format-splitfrom
thde/352-07-testutil
Open

thde wants to merge 1 commit into
thde/352-06-cli-format-splitfrom
thde/352-07-testutil

Conversation

@thde

@thde thde commented Sep 17, 2026

Copy link
Copy Markdown
Member

Step 3 of #352. The package holding the fake client and fixtures is renamed from internal/test (package test) to internal/testutil (package testutil) so its identifier no longer collides with the generic word "test" in test files.

Pure mechanical rename via gopls rename: package clause, doc comment, import path, and every qualified use test.X -> testutil.X in the 94 importing _test.go files. No other changes.

@thde
thde added this pull request to stack #459 September 17, 2026 12:06
@thde
thde force-pushed the thde/352-07-testutil branch from f9e8ecc to bdd287b Compare October 6, 2026 08:35
Step 3 of #352. The package holding the fake client and fixtures is
renamed from internal/test (package test) to internal/testutil
(package testutil) so its identifier no longer collides with the
generic word "test" in test files.

Pure mechanical rename via gopls rename: package clause, doc comment,
import path, and every qualified use test.X -> testutil.X in the 94
importing _test.go files. No other changes.

# Conflicts:
#	api/client_test.go
#	get/database_test.go
#	get/keyvaluestore_test.go
#	get/mysql_test.go
#	get/mysqldatabase_test.go
#	get/opensearch_test.go
#	get/postgres_test.go
#	get/postgresdatabase_test.go
#	main_test.go
@thde
thde force-pushed the thde/352-07-testutil branch from bdd287b to 9b29ecf Compare October 9, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant