Commit a6e8b581 authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting

parent fe1fd167
......@@ -45,13 +45,15 @@ SCENARIO("message builders can build messages incrementally") {
builder.append(xs.begin(), xs.end());
CHECK_EQ(builder.size(), 3u);
auto msg = builder.to_message();
CHECK_EQ(msg.types(), (make_type_id_list<int32_t, int32_t, int32_t>()));
CHECK_EQ(msg.types(),
(make_type_id_list<int32_t, int32_t, int32_t>()));
CHECK_EQ(to_string(msg.types()), "[int32_t, int32_t, int32_t]");
CHECK_EQ(to_string(msg), "message(1, 2, 3)");
}
STEP("moving the content to a message produces the same message again") {
STEP("move_to_message produces the same message again") {
auto msg = builder.move_to_message();
CHECK_EQ(msg.types(), (make_type_id_list<int32_t, int32_t, int32_t>()));
CHECK_EQ(msg.types(),
(make_type_id_list<int32_t, int32_t, int32_t>()));
CHECK_EQ(to_string(msg.types()), "[int32_t, int32_t, int32_t]");
CHECK_EQ(to_string(msg), "message(1, 2, 3)");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment