Fix a simple printf fmt typo in server_test.go:574

pull/1337/head
SaviorPhoenix 2015-01-20 02:54:01 -07:00
parent 8a2b078a10
commit e96adbf80b
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)
}