Skip to content

Commit

Permalink
fix the code lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
luyade committed Dec 23, 2021
1 parent 4113760 commit c22c1a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/storage/test/GetNeighborsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,10 @@ TEST(GetNeighborsTest, TtlTest) {
ASSERT_EQ(5, (*resp.vertices_ref()).rows[0].values.size());
ASSERT_EQ("Spurs", (*resp.vertices_ref()).rows[0].values[0].getStr());
ASSERT_EQ(Value::Type::__EMPTY__, (*resp.vertices_ref()).rows[0].values[1].type());
ASSERT_EQ(Value::Type::LIST, (*resp.vertices_ref()).rows[0].values[2].type()); //team still exists (team hasn't set ttl)
ASSERT_EQ(Value::Type::__EMPTY__, (*resp.vertices_ref()).rows[0].values[3].type()); //- serve expired
// team still exists (team hasn't set ttl)
ASSERT_EQ(Value::Type::LIST, (*resp.vertices_ref()).rows[0].values[2].type());
// - serve expired
ASSERT_EQ(Value::Type::__EMPTY__, (*resp.vertices_ref()).rows[0].values[3].type());
ASSERT_EQ(Value::Type::__EMPTY__, (*resp.vertices_ref()).rows[0].values[4].type());
}
{
Expand Down

0 comments on commit c22c1a5

Please sign in to comment.