diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2015-11-11 11:10:13 -0500 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2015-11-11 11:10:13 -0500 |
commit | ed60bbfae7d2b5239bea69f162f0784e17995e91 (patch) | |
tree | 286d374773d816da8bc7afc101967dc89aa5480d | |
parent | 867f4a71584bf74ecad928db9ae789a9135d77c9 (diff) | |
download | mongo-ed60bbfae7d2b5239bea69f162f0784e17995e91.tar.gz |
TOOLS-807 lint fix
-rw-r--r-- | common/db/bson_stream_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/db/bson_stream_test.go b/common/db/bson_stream_test.go index 66602b48533..f85b58f5791 100644 --- a/common/db/bson_stream_test.go +++ b/common/db/bson_stream_test.go @@ -27,7 +27,7 @@ func TestBufferlessBSONSource(t *testing.T) { NewBufferlessBSONSource(ioutil.NopCloser(writeBuf))) docs := []bson.M{} count := 0 - var doc *bson.M = &bson.M{} + doc := &bson.M{} for bsonSource.Next(doc) { count++ docs = append(docs, *doc) |