Browse Source

add primary key to smallint_table test

Sarah Brown 9 years ago
parent
commit
f2fcb7e8aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -768,7 +768,7 @@ func TestSmallInt(t *testing.T) {
 	session := createSession(t)
 	defer session.Close()
 	if err := createTable(session, `CREATE TABLE gocql_test.smallint_table (
-			testsmallint   smallint,
+			testsmallint  smallint PRIMARY KEY,
 		)`); err != nil {
 		t.Fatal("create table:", err)
 	}