mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
Add more tests for command line parser
This commit is contained in:
parent
b2c10342f2
commit
74164a4623
1 changed files with 6 additions and 0 deletions
|
@ -134,6 +134,12 @@ int main()
|
|||
test("\\ \\ \\ \\ \\ \\ \\ \\ \\ ", 2, 3, false, "arg too long", 0, argv0);
|
||||
test("\\\\\\\\\\\\ \\\\\\\\\\\\ \\\\\\\\\\\\", 2, 3, false, "arg too long", 0, argv0);
|
||||
|
||||
test("\\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
test(" \\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
test("\\ \\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
test("\\\\\\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
test("foo\\", 0, 0, false, "EOL after backslash", 0, argv0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue