소스 검색

add primary key to smallint_table test

Sarah Brown 9 년 전
부모
커밋
f2fcb7e8aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 	}