diff options
Diffstat (limited to 'win8/delegate_execute/delegate_execute_util_unittest.cc')
-rw-r--r-- | win8/delegate_execute/delegate_execute_util_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win8/delegate_execute/delegate_execute_util_unittest.cc b/win8/delegate_execute/delegate_execute_util_unittest.cc index ca444b8..40a2e71 100644 --- a/win8/delegate_execute/delegate_execute_util_unittest.cc +++ b/win8/delegate_execute/delegate_execute_util_unittest.cc @@ -28,7 +28,8 @@ TEST(DelegateExecuteUtil, CommandLineFromParametersTest) { // Parameters with a switch are parsed properly. cl = delegate_execute::CommandLineFromParameters( - base::StringPrintf(L"--%ls", ASCIIToWide(kSomeSwitch).c_str()).c_str()); + base::StringPrintf(L"--%ls", + base::ASCIIToWide(kSomeSwitch).c_str()).c_str()); EXPECT_EQ(std::wstring(), cl.GetProgram().value()); EXPECT_TRUE(cl.HasSwitch(kSomeSwitch)); } @@ -60,7 +61,8 @@ TEST(DelegateExecuteUtil, MakeChromeCommandLineTest) { // Params with switchs and args plus arg contains the arg. cl = delegate_execute::MakeChromeCommandLine( this_exe, delegate_execute::CommandLineFromParameters( - base::StringPrintf(L"--%ls -- %ls", ASCIIToWide(kSomeSwitch).c_str(), + base::StringPrintf(L"--%ls -- %ls", + base::ASCIIToWide(kSomeSwitch).c_str(), kOtherArgument).c_str()), base::string16(kSomeArgument)); EXPECT_EQ(5, cl.argv().size()); |