Fixed a bunch of typos (#7146)

This commit is contained in:
Christian Muehlhaeuser
2019-07-19 03:10:15 +02:00
committed by Jeff Mitchell
parent a824db9b05
commit c70d05b026
12 changed files with 12 additions and 12 deletions

View File

@@ -183,7 +183,7 @@ func TestPriorityQueue_PopByKey(t *testing.T) {
testValidateInternalData(t, pq, len(tc)-len(popKeys)-1, true)
}
// testValidateInternalData checks the internal data stucture of the PriorityQueue
// testValidateInternalData checks the internal data structure of the PriorityQueue
// and verifies that items are in-sync. Use drain only at the end of a test,
// because it will mutate the input queue
func testValidateInternalData(t *testing.T, pq *PriorityQueue, expectedSize int, drain bool) {