mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 15:40:36 +03:00
std.process: Add additional test cases discovered with unittest_burnin
This commit is contained in:
parent
298bb286e6
commit
a9df76d04e
1 changed files with 10 additions and 0 deletions
|
@ -3675,6 +3675,16 @@ string escapeShellCommand(scope const(char[])[] args...) @safe pure
|
||||||
windows : `"foo bar" ^"'\^"^^\\^"`,
|
windows : `"foo bar" ^"'\^"^^\\^"`,
|
||||||
posix : `'foo bar' ''\''"^\'`
|
posix : `'foo bar' ''\''"^\'`
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
args : ["foo bar", ""],
|
||||||
|
windows : `"foo bar" ^"^"`,
|
||||||
|
posix : `'foo bar' ''`
|
||||||
|
},
|
||||||
|
{
|
||||||
|
args : ["foo bar", "2"],
|
||||||
|
windows : `"foo bar" ^"2^"`,
|
||||||
|
posix : `'foo bar' '2'`
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach (test; tests)
|
foreach (test; tests)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue