зеркало из https://github.com/github/vitess-gh.git
rpc: s/+= 1/++
This commit is contained in:
Родитель
ab57f85f26
Коммит
c2f084c824
|
@ -203,7 +203,7 @@ func TestStreamingCall(t *testing.T) {
|
|||
if row.C != count {
|
||||
t.Fatal("unexpected value:", row.C)
|
||||
}
|
||||
count += 1
|
||||
count++
|
||||
|
||||
// log.Println("Values: ", row)
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ func callOnceAndCheck(t *testing.T, client *Client) {
|
|||
if row.Index != count {
|
||||
t.Fatal("unexpected value:", row.Index)
|
||||
}
|
||||
count += 1
|
||||
count++
|
||||
|
||||
// log.Println("Values: ", row.C, row.Index)
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ func TestInterruptedCallByServer(t *testing.T) {
|
|||
if row.Index != count {
|
||||
t.Fatal("unexpected value:", row.Index)
|
||||
}
|
||||
count += 1
|
||||
count++
|
||||
}
|
||||
if count != 30 {
|
||||
t.Fatal("received error before the right time:", count)
|
||||
|
@ -211,7 +211,7 @@ func TestBadTypeByServer(t *testing.T) {
|
|||
if row.Index != count {
|
||||
t.Fatal("unexpected value:", row.Index)
|
||||
}
|
||||
count += 1
|
||||
count++
|
||||
}
|
||||
if count != 30 {
|
||||
t.Fatal("received error before the right time:", count)
|
||||
|
|
Загрузка…
Ссылка в новой задаче