Explorar el Código

actually add testsmallint to the query

Sarah Brown hace 9 años
padre
commit
99243588fd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      cassandra_test.go

+ 1 - 0
cassandra_test.go

@@ -773,6 +773,7 @@ func TestSmallInt(t *testing.T) {
 		t.Fatal("create table:", err)
 	}
 	m := make(map[string]interface{})
+	m["testsmallint"] = int16(2)
 	sliceMap := []map[string]interface{}{m}
 	if err := session.Query(`INSERT INTO smallint_table (testsmallint) VALUES (?)`,
 		m["testsmallint"]).Exec(); err != nil {