Merge pull request #1337 from SaviorPhoenix/fmt-fix

Fix a simple printf fmt typo in server_test.go:574
pull/1339/head
Ben Johnson 2015-01-20 07:49:25 -07:00
commit 7602968a0a
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ func TestServer_ExecuteQuery(t *testing.T) {
if res := results[0]; res.Err != nil {
t.Fatalf("unexpected error: %s", res.Err)
} else if len(res.Rows) != 1 {
t.Fatalf("unexpected row count: %s", len(res.Rows))
t.Fatalf("unexpected row count: %d", len(res.Rows))
} else if s := mustMarshalJSON(res); s != `{"rows":[{"name":"cpu","columns":["time","sum"],"values":[[0,150]]}]}` {
t.Fatalf("unexpected row(0): %s", s)
}