소스 검색

Update test

Chris Bannister 11 년 전
부모
커밋
5acbdd4016
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {