Skip to content

Commit

Permalink
File test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
araddon committed Nov 6, 2017
1 parent 96a2428 commit 3df8599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/files/filesource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestSelectStar(t *testing.T) {
rows, err := db.Query("select * from article;")
assert.Equal(t, nil, err)
cols, _ := rows.Columns()
assert.Equal(t, 12, len(cols), "want 12 cols but got %v", len(cols))
assert.Equal(t, 7, len(cols), "want 7 cols but got %v", len(cols))
assert.True(t, rows.Next(), "must get next row but couldn't")
readCols := make([]interface{}, len(cols))
writeCols := make([]string, len(cols))
Expand Down

0 comments on commit 3df8599

Please sign in to comment.