@@ -808,7 +808,7 @@ func TestErrors(t *testing.T) {
808808 // invalid column name
809809 err := Take (FromFile (tempFiles ["people" ]).SelectColumns ("id" , "name" , "xxx" ))(neverCalled )
810810
811- if err == nil || ! strings .HasSuffix (err .Error (), "Row 0 : Column not found: xxx" ) {
811+ if err == nil || ! strings .HasSuffix (err .Error (), "Row 1 : Column not found: xxx" ) {
812812 t .Error ("Unexpected error:" , err )
813813 return
814814 }
@@ -889,7 +889,7 @@ func TestErrors(t *testing.T) {
889889
890890 err = people (neverCalled )
891891
892- if err == nil || ! strings .HasSuffix (err .Error (), `Row 0 : Misplaced column "surname": expected at pos. 3, but found at pos. 2` ) {
892+ if err == nil || ! strings .HasSuffix (err .Error (), `Row 1 : Misplaced column "surname": expected at pos. 3, but found at pos. 2` ) {
893893 t .Error ("Unexpected error:" , err )
894894 return
895895 }
@@ -901,7 +901,7 @@ func TestErrors(t *testing.T) {
901901
902902 err = people (neverCalled )
903903
904- if err == nil || ! strings .HasSuffix (err .Error (), `Row 0 : Misplaced column "surname": expected at pos. 25, but found at pos. 2` ) {
904+ if err == nil || ! strings .HasSuffix (err .Error (), `Row 1 : Misplaced column "surname": expected at pos. 25, but found at pos. 2` ) {
905905 t .Error ("Unexpected error:" , err )
906906 return
907907 }
0 commit comments