1
0
Fork 0
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:
Alex Kotov 2021-12-12 20:52:04 +05:00
parent 9cdc7178dc
commit 534c512f32
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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;
}