FOREACH_CHAR(s, true, {
switch (it) {
default:
- for (; spaces > 0; --spaces) {
+ for ( ; spaces > 0; --spaces) {
buf = strcat(buf, " ");
}
buf = strcat(buf, chr2str(it));
TEST(Markdown, LineWrap)
{
- #define X(expect, in) MACRO_BEGIN \
+#define X(expect, in) \
+ MACRO_BEGIN \
string out = markdown(in); \
EXPECT_TRUE(expect == out); \
LOG_INFO(expect); \
// paragraph
X("lorem\n\nipsum", "lorem\n\nipsum");
SUCCEED();
- #undef X
+#undef X
}