Skip to content

Commit

Permalink
Correct the GetKeyspaces unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
posulliv committed Feb 21, 2011
1 parent aaee683 commit e4ddeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cassandra_client_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ TEST(Cassandra, GetKeyspaces)
transport->open();
Cassandra c(client, host, port);
vector<KeyspaceDefinition> keyspaces= c.getKeyspaces();
/* we assume the test server only has 2 keyspaces: system and default */
EXPECT_EQ(2, keyspaces.size());
/* we assume the test server only has 1 keyspace: system */
EXPECT_EQ(1, keyspaces.size());
}


Expand Down

0 comments on commit e4ddeb3

Please sign in to comment.