Compare commits
1 Commits
b9c3267aad
...
2990ec795a
| Author | SHA1 | Date | |
|---|---|---|---|
|
2990ec795a
|
@@ -29,7 +29,7 @@
|
||||
#define FF_VERSION_MARKER "format-version: "
|
||||
#define FF_STRINGIFY_(x) #x
|
||||
#define FF_STRINGIFY(x) FF_STRINGIFY_(x)
|
||||
#define FLATFILE_HEADER "# profanity chat log — UTF-8, LF line endings, " FF_VERSION_MARKER FF_STRINGIFY(FLATFILE_FORMAT_VERSION) "\n"
|
||||
#define FLATFILE_HEADER "# cproof chat log — UTF-8, LF line endings, " FF_VERSION_MARKER FF_STRINGIFY(FLATFILE_FORMAT_VERSION) "\n"
|
||||
#define FF_MAX_LINE_LEN (10 * 1024 * 1024) /* 10 MB — reject lines longer than this */
|
||||
#define FF_MAX_LMC_DEPTH 100 /* max correction chain depth */
|
||||
|
||||
|
||||
@@ -458,7 +458,7 @@ void
|
||||
test_ff_parse_line_comment(void** state)
|
||||
{
|
||||
assert_null(ff_parse_line("# this is a comment"));
|
||||
assert_null(ff_parse_line("# profanity chat log — UTF-8, LF line endings"));
|
||||
assert_null(ff_parse_line("# cproof chat log — UTF-8, LF line endings"));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user