Browse Source

Update test

Chris Bannister 11 years ago
parent
commit
5acbdd4016
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -91,7 +91,7 @@ func TestInvalidKeyspace(t *testing.T) {
 	cluster.Keyspace = "invalidKeyspace"
 	session, err := cluster.CreateSession()
 	if err != nil {
-		if err != ErrNoConnections {
+		if err != ErrNoConnectionsStarted {
 			t.Errorf("Expected ErrNoConnections but got %v", err)
 		}
 	} else {