浏览代码

Merge pull request #891 from kchristidis/issues/890

Fix comment for mocks.NewConsumer
Evan Huus 8 年之前
父节点
当前提交
ac03dfa0c9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mocks/consumer.go

+ 1 - 1
mocks/consumer.go

@@ -20,7 +20,7 @@ type Consumer struct {
 
 // NewConsumer returns a new mock Consumer instance. The t argument should
 // be the *testing.T instance of your test method. An error will be written to it if
-// an expectation is violated. The config argument is currently unused and can be set to nil.
+// an expectation is violated. The config argument can be set to nil.
 func NewConsumer(t ErrorReporter, config *sarama.Config) *Consumer {
 	if config == nil {
 		config = sarama.NewConfig()