Skip to content

Commit

Permalink
Add 1.3 to travis config; fix order dependence in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lann Martin committed Jun 26, 2014
1 parent f895890 commit e986d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: go
go:
- 1.1
- 1.2
- 1.3
- tip

install:
Expand Down
2 changes: 1 addition & 1 deletion delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestDeleteBuilderToSqlErr(t *testing.T) {
}

func TestDeleteBuilderPlaceholders(t *testing.T) {
b := Delete("test").Where(Eq{"x": 1, "y": 2})
b := Delete("test").Where("x = ? AND y = ?", 1, 2)

sql, _, _ := b.PlaceholderFormat(Question).ToSql()
assert.Equal(t, "DELETE FROM test WHERE x = ? AND y = ?", sql)
Expand Down

0 comments on commit e986d30

Please sign in to comment.