Skip to content

Commit

Permalink
Add more test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocsomor committed Feb 13, 2019
1 parent 915111c commit 6cd6294
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tools/launcher/util/launcher_util_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,13 @@ TEST_F(LaunchUtilTest, WindowsEscapeArgTest) {
// - second: expected WindowsEscapeArg-encoded string
{L"foo", L"foo"},
{L"", L"\"\""},
{L" ", L"\" \""},
{L"foo\\bar", L"foo\\bar"},
{L"C:\\foo\\bar\\", L"C:\\foo\\bar\\"},
// TODO(laszlocsomor): fix WindowsEscapeArg to use correct escaping
// semantics (not Bash semantics) and add more tests.
// semantics (not Bash semantics) and add more tests. The example below is
// escaped incorrectly.
// {L"C:\\foo bar\\", L"\"C:\\foo bar\\\""},
});
}

Expand Down

0 comments on commit 6cd6294

Please sign in to comment.