@@ -208,7 +208,7 @@ func TestCreateTableValuesOk(t *testing.T) {
208
208
t .Errorf ("there were unfulfilled expections: %s" , err )
209
209
}
210
210
211
- expectedResult := "('1','[email protected] ','Test Name 1'), ('2','[email protected] ','Test Name 2')"
211
+ expectedResult := [] string { "('1','[email protected] ','Test Name 1')" , " ('2','[email protected] ','Test Name 2')"}
212
212
213
213
if ! reflect .DeepEqual (result , expectedResult ) {
214
214
t .Fatalf ("expected %#v, got %#v" , expectedResult , result )
@@ -244,7 +244,7 @@ func TestCreateTableValuesNil(t *testing.T) {
244
244
t .Errorf ("there were unfulfilled expections: %s" , err )
245
245
}
246
246
247
- expectedResult := "('1',NULL,'Test Name 1'), ('2','[email protected] ','Test Name 2'), ('3','','Test Name 3')"
247
+ expectedResult := [] string { "('1',NULL,'Test Name 1')" , " ('2','[email protected] ','Test Name 2')" , " ('3','','Test Name 3')"}
248
248
249
249
if ! reflect .DeepEqual (result , expectedResult ) {
250
250
t .Fatalf ("expected %#v, got %#v" , expectedResult , result )
0 commit comments