Skip to content

pkg/stringid: replace TestShortenIdXXX with TestTruncateID table test#48707

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:stringid_tabletest
Oct 21, 2024
Merged

pkg/stringid: replace TestShortenIdXXX with TestTruncateID table test#48707
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:stringid_tabletest

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

These tests were named confusingly as they're testing TruncateID. While renaming, let's also combine them into a single test using a test-table, so that the test-cases can carry some description what they're testing.

These tests were named confusingly as they're testing `TruncateID`.
While renaming, let's also combine them into a single test using
a test-table, so that the test-cases can carry some description
what they're testing.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review area/testing kind/refactor PR's that refactor, or clean-up code labels Oct 20, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Oct 20, 2024
@thaJeztah thaJeztah self-assigned this Oct 20, 2024
@thaJeztah thaJeztah merged commit 71fffa7 into moby:master Oct 21, 2024
@thaJeztah thaJeztah deleted the stringid_tabletest branch October 21, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing kind/refactor PR's that refactor, or clean-up code status/4-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants