Skip to content

Commit 92a22ba

Browse files
author
Achille Roussel
committed
fix: writer test for RequiredAcks=None
1 parent e7d5971 commit 92a22ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

writer_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestWriter(t *testing.T) {
5252
function: testWriterSetsRightBalancer,
5353
},
5454
{
55-
scenario: "setting RequiredAcks to None in Writer doesn't cause a panic",
55+
scenario: "setting RequiredAcks to None in Writer does not cause a panic",
5656
function: testWriterRequiredAcksNone,
5757
},
5858
}
@@ -93,9 +93,9 @@ func testWriterRequiredAcksNone(t *testing.T) {
9393
defer deleteTopic(t, topic)
9494

9595
w := &Writer{
96-
Addr: TCP("localhost:9092"),
97-
Topic: topic,
98-
Balancer: &RoundRobin{},
96+
Addr: TCP("localhost:9092"),
97+
Topic: topic,
98+
Balancer: &RoundRobin{},
9999
RequiredAcks: RequireNone,
100100
}
101101
defer w.Close()

0 commit comments

Comments
 (0)