Przeglądaj źródła

Merge pull request #912 from shawnps/patch-2

Fix Errorf string formatting verb
Chris Bannister 8 lat temu
rodzic
commit
00a4bbccd7
1 zmienionych plików z 1 dodań i 1 usunięć
  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