qb: fixed benchmarks

This commit is contained in:
Michał Matczuk
2017-08-03 17:02:22 +02:00
parent 91cb873025
commit 8d47a6d133
4 changed files with 4 additions and 4 deletions

View File

@@ -78,6 +78,6 @@ func TestUpdateBuilder(t *testing.T) {
func BenchmarkUpdateBuilder(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
Update("cycling.cyclist_name").Set("id", "user_uuid", "firstname", "stars").Where(Eq("id"))
Update("cycling.cyclist_name").Set("id", "user_uuid", "firstname", "stars").Where(Eq("id")).ToCql()
}
}