Skip to content

Commit

Permalink
added missing expects
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Aug 22, 2017
1 parent 3336687 commit 32ba338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/packet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ TEST(PublishTest, Decode1) {
EXPECT_EQ(msg.retained, true);
EXPECT_EQ(packet_id, 7);
EXPECT_ARRAY_EQ("surgemq", topic.data, 7);
EXPECT_EQ(msg.payload_len, (size_t)12);
EXPECT_ARRAY_EQ("send me home", msg.payload, 12);
}

Expand Down Expand Up @@ -400,6 +401,7 @@ TEST(PublishTest, Decode2) {
EXPECT_EQ(msg.retained, false);
EXPECT_EQ(packet_id, 0);
EXPECT_ARRAY_EQ("surgemq", topic.data, 7);
EXPECT_EQ(msg.payload_len, (size_t)12);
EXPECT_ARRAY_EQ("send me home", msg.payload, 12);
}

Expand Down

0 comments on commit 32ba338

Please sign in to comment.