Ver código fonte

Merge remote-tracking branch 'titanous/fix-create-keyspace'

Christoph Hack 13 anos atrás
pai
commit
d693188dfa
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      gocql_test.go

+ 1 - 2
gocql_test.go

@@ -60,8 +60,7 @@ func TestWiki(t *testing.T) {
 	}
 	db.Exec("DROP KEYSPACE gocql_wiki")
 	if _, err := db.Exec(`CREATE KEYSPACE gocql_wiki
-        WITH strategy_class = 'SimpleStrategy'
-        AND strategy_options:replication_factor = 1`); err != nil {
+	                      WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }`); err != nil {
 		t.Fatal(err)
 	}
 	if _, err := db.Exec("USE gocql_wiki"); err != nil {