mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
remove semis after statements in one-statement statement lists
R=rsc, r http://go/go-review/1025029
This commit is contained in:
parent
18ccbc69f8
commit
40621d5c0d
408 changed files with 7859 additions and 7859 deletions
|
|
@ -55,7 +55,7 @@ func TestDialError(t *testing.T) {
|
|||
for i, tt := range dialErrorTests {
|
||||
c, e := Dial(tt.Net, tt.Laddr, tt.Raddr);
|
||||
if c != nil {
|
||||
c.Close();
|
||||
c.Close()
|
||||
}
|
||||
if e == nil {
|
||||
t.Errorf("#%d: nil error, want match for %#q", i, tt.Pattern);
|
||||
|
|
@ -64,7 +64,7 @@ func TestDialError(t *testing.T) {
|
|||
s := e.String();
|
||||
match, _ := regexp.MatchString(tt.Pattern, s);
|
||||
if !match {
|
||||
t.Errorf("#%d: %q, want match for %#q", i, s, tt.Pattern);
|
||||
t.Errorf("#%d: %q, want match for %#q", i, s, tt.Pattern)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue