Skip to content

Commit 63aca4f

Browse files
committed
Fix test type
1 parent 9823f56 commit 63aca4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dump_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestCreateTableValuesOk(t *testing.T) {
208208
t.Errorf("there were unfulfilled expections: %s", err)
209209
}
210210

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')"}
212212

213213
if !reflect.DeepEqual(result, expectedResult) {
214214
t.Fatalf("expected %#v, got %#v", expectedResult, result)
@@ -244,7 +244,7 @@ func TestCreateTableValuesNil(t *testing.T) {
244244
t.Errorf("there were unfulfilled expections: %s", err)
245245
}
246246

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')"}
248248

249249
if !reflect.DeepEqual(result, expectedResult) {
250250
t.Fatalf("expected %#v, got %#v", expectedResult, result)

0 commit comments

Comments
 (0)