Skip to content

Commit e16168a

Browse files
committed
fixed typo
1 parent b58db39 commit e16168a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cassandra_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4005,18 +4005,18 @@ func TestQueryCompressionNotWorthIt(t *testing.T) {
40054005
session := createSession(t)
40064006
defer session.Close()
40074007

4008-
if err := createTable(session, "CREATE TABLE IF NOT EXISTS gocql_test.compression_now_worth_it(id int, text_col text, PRIMARY KEY (id))"); err != nil {
4008+
if err := createTable(session, "CREATE TABLE IF NOT EXISTS gocql_test.compression_not_worth_it(id int, text_col text, PRIMARY KEY (id))"); err != nil {
40094009
t.Fatal(err)
40104010
}
40114011

40124012
str := "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+"
4013-
err := session.Query("INSERT INTO gocql_test.compression_now_worth_it (id, text_col) VALUES (?, ?)", "1", str).Exec()
4013+
err := session.Query("INSERT INTO gocql_test.compression_not_worth_it (id, text_col) VALUES (?, ?)", "1", str).Exec()
40144014
if err != nil {
40154015
t.Fatal(err)
40164016
}
40174017

40184018
var result string
4019-
err = session.Query("SELECT text_col FROM gocql_test.compression_now_worth_it").Scan(&result)
4019+
err = session.Query("SELECT text_col FROM gocql_test.compression_not_worth_it").Scan(&result)
40204020
if err != nil {
40214021
t.Fatal(err)
40224022
}

0 commit comments

Comments
 (0)