Skip to content

Commit 12b60b1

Browse files
committed
Rename cache clearing test so that tests have distinct names
Two tests had the same name, "allows clearAll values in cache". The second test with this name was added in 13ae83d. Renamed that second test so that all tests have unique names.
1 parent c87fdce commit 12b60b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataloader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func TestLoader(t *testing.T) {
329329
}
330330
})
331331

332-
t.Run("allows clearAll values in cache", func(t *testing.T) {
332+
t.Run("clears cache on batch with WithClearCacheOnBatch", func(t *testing.T) {
333333
t.Parallel()
334334
batchOnlyLoader, loadCalls := BatchOnlyLoader(0)
335335
ctx := context.Background()

0 commit comments

Comments
 (0)