소스 검색

Fixes typo.

Felix Geller 9 년 전
부모
커밋
e0cbdba3d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mocks/consumer.go

+ 1 - 1
mocks/consumer.go

@@ -126,7 +126,7 @@ func (c *Consumer) SetTopicMetadata(metadata map[string][]int32) {
 
 // ExpectConsumePartition will register a topic/partition, so you can set expectations on it.
 // The registered PartitionConsumer will be returned, so you can set expectations
-// on it using method chanining. Once a topic/partition is registered, you are
+// on it using method chaining. Once a topic/partition is registered, you are
 // expected to start consuming it using ConsumePartition. If that doesn't happen,
 // an error will be written to the error reporter once the mock consumer is closed. It will
 // also expect that the