Skip to content

Commit 0ee4f63

Browse files
Shreeshriistweil
authored andcommitted
Formatting LOG messages from layout_test
1 parent 4edc61f commit 0ee4f63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unittest/layout_test.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ class LayoutTest : public testing::Test {
7474
strstr(block_text, strings[string_index]) != nullptr) {
7575
LOG(INFO) << "Found string " << strings[string_index]
7676
<< " in block " << block_index
77-
<< " of type " << kPolyBlockNames[blocks[string_index]];
77+
<< " of type " << kPolyBlockNames[blocks[string_index]] << "\n";
7878
// Found this one.
7979
++string_index;
8080
} else if (it->BlockType() == blocks[string_index] &&
8181
block_text == nullptr && strings[string_index][0] == '\0') {
8282
LOG(INFO) << "Found block of type " << kPolyBlockNames[blocks[string_index]]
83-
<< " at block " << block_index;
83+
<< " at block " << block_index << "\n";
8484
// Found this one.
8585
++string_index;
8686
} else {
87-
LOG(INFO) << "No match found in block with text:\n%s" << block_text;
87+
LOG(INFO) << "No match found in block with text:\n" << block_text;
8888
}
8989
delete[] block_text;
9090
++block_index;

0 commit comments

Comments
 (0)