2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-11-09 19:21:52 +08:00

fix: typo

This commit is contained in:
guangwu 2023-10-22 19:15:41 +08:00 committed by GitHub
parent 5ec6847320
commit a9104614f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,10 +302,10 @@ func TestTimeout(t *testing.T) {
} }
Close() Close()
if rl != 3 { if rl != 3 {
log.Print("testTimeout failed: response from wrong sevice ", rl) log.Print("testTimeout failed: response from wrong service ", rl)
} }
if string(buffer[0:3]) != "any" { if string(buffer[0:3]) != "any" {
log.Print("testTimeout failed: response from wrong sevice ") log.Print("testTimeout failed: response from wrong service ")
} }
time.Sleep(testDuration * 2) time.Sleep(testDuration * 2)
if len(result) != 2 { if len(result) != 2 {