mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-17 15:45:32 -05:00
Add more tests
This commit is contained in:
parent
9cdc7178dc
commit
534c512f32
1 changed files with 6 additions and 0 deletions
|
@ -187,6 +187,12 @@ int main()
|
|||
test("\\\"\\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
test("foo\\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
|
||||
test("foo\"", 0, 0, false, "unescaped quotation mark", 0, argv0);
|
||||
test("foo\"bar", 0, 0, false, "unescaped quotation mark", 0, argv0);
|
||||
|
||||
test("\"", 0, 0, false, "EOL inside quote", 0, argv0);
|
||||
test("\"foo", 0, 0, false, "EOL inside quote", 0, argv0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue