فهرست منبع

Fix Errorf string formatting verb

Shawn Smith 8 سال پیش
والد
کامیت
9b7fa39a61
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -1727,7 +1727,7 @@ func TestGetTableMetadata(t *testing.T) {
 			t.Errorf("Expected table name to be set, but it was empty: index=%d metadata=%+v", i, table)
 		}
 		if table.Keyspace != "gocql_test" {
-			t.Errorf("Expected keyspace for '%d' table metadata to be 'gocql_test' but was '%s'", table.Name, table.Keyspace)
+			t.Errorf("Expected keyspace for '%s' table metadata to be 'gocql_test' but was '%s'", table.Name, table.Keyspace)
 		}
 		if *flagProto < 4 {
 			// TODO(zariel): there has to be a better way to detect what metadata version