mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-15 02:12:55 +01:00
Rename test for accurate context cancellation
Updated the test name from `TestConnPool_GetContextTimeout` to `TestConnPool_GetContextCancel` to better reflect its functionality. This change improves test readability and maintains consistency with the context usage in the test.
This commit is contained in:
parent
c8684886ed
commit
4f6224131e
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ func TestConnPool_Concurrency(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestConnPool_GetContextTimeout(t *testing.T) {
|
||||
func TestConnPool_GetContextCancel(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
|
|
Loading…
Reference in a new issue