@@ -1198,7 +1198,7 @@ func TestLongData(t *testing.T) {
1198
1198
dbt .Fatalf ("LONGBLOB: length in: %d, length out: %d" , len (inS ), len (out ))
1199
1199
}
1200
1200
if rows .Next () {
1201
- dbt .Error ("LONGBLOB: unexpexted row" )
1201
+ dbt .Error ("LONGBLOB: unexpected row" )
1202
1202
}
1203
1203
} else {
1204
1204
dbt .Fatalf ("LONGBLOB: no data" )
@@ -1217,7 +1217,7 @@ func TestLongData(t *testing.T) {
1217
1217
dbt .Fatalf ("LONGBLOB: length in: %d, length out: %d" , len (in ), len (out ))
1218
1218
}
1219
1219
if rows .Next () {
1220
- dbt .Error ("LONGBLOB: unexpexted row" )
1220
+ dbt .Error ("LONGBLOB: unexpected row" )
1221
1221
}
1222
1222
} else {
1223
1223
if err = rows .Err (); err != nil {
@@ -1293,7 +1293,7 @@ func TestLoadData(t *testing.T) {
1293
1293
dbt .Fatalf ("unexpected row count: got %d, want 0" , count )
1294
1294
}
1295
1295
1296
- // Then fille File with data and try to load it
1296
+ // Then fill File with data and try to load it
1297
1297
file .WriteString ("1\t a string\n 2\t a string containing a \\ t\n 3\t a string containing a \\ n\n 4\t a string containing both \\ t\\ n\n " )
1298
1298
file .Close ()
1299
1299
dbt .mustExec (fmt .Sprintf ("LOAD DATA LOCAL INFILE %q INTO TABLE test" , file .Name ()))
@@ -1899,7 +1899,7 @@ func TestConcurrent(t *testing.T) {
1899
1899
}(i )
1900
1900
}
1901
1901
1902
- // wait until all conections are open
1902
+ // wait until all connections are open
1903
1903
wg .Wait ()
1904
1904
1905
1905
if fatalError != "" {
@@ -1948,7 +1948,7 @@ func TestCustomDial(t *testing.T) {
1948
1948
t .Skipf ("MySQL server not running on %s" , netAddr )
1949
1949
}
1950
1950
1951
- // our custom dial function which justs wraps net.Dial here
1951
+ // our custom dial function which just wraps net.Dial here
1952
1952
RegisterDialContext ("mydial" , func (ctx context.Context , addr string ) (net.Conn , error ) {
1953
1953
var d net.Dialer
1954
1954
return d .DialContext (ctx , prot , addr )
0 commit comments