Skip to content

Commit 94ff3ec

Browse files
committed
fix: tests
1 parent a9d4bf0 commit 94ff3ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rcon_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func TestConn_Execute(t *testing.T) {
207207

208208
result, err := conn.Execute("deadline")
209209
//wantErrMsg := fmt.Sprintf("rcon: read packet size: read tcp %s->%s: i/o timeout", conn.LocalAddr(), conn.RemoteAddr())
210-
wantErrMsg := fmt.Sprintf("excecute timeout"), conn.RemoteAddr())
210+
wantErrMsg := "excecute timeout"
211211
if err == nil || err.Error() != wantErrMsg {
212212
t.Errorf("got err %q, want to contain %q", err, wantErrMsg)
213213
}

0 commit comments

Comments
 (0)