Procházet zdrojové kódy

actually add testsmallint to the query

Sarah Brown před 9 roky
rodič
revize
99243588fd
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 {