Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: base/command_line_unittest.cc

Issue 3817001: CommandLine: remove wstring-based program() accessor (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/command_line_unittest.cc
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc
index cd26fc5df87ca17a9033805d1619012c8da9ffc9..a3722ac8bc7ab59eb996e848915f2f4d05c3f186 100644
--- a/base/command_line_unittest.cc
+++ b/base/command_line_unittest.cc
@@ -106,7 +106,7 @@ TEST(CommandLineTest, EmptyString) {
#if defined(OS_WIN)
CommandLine cl = CommandLine::FromString(L"");
EXPECT_TRUE(cl.command_line_string().empty());
- EXPECT_TRUE(cl.program().empty());
+ EXPECT_TRUE(cl.GetProgram().value().empty());
viettrungluu 2010/10/14 19:51:27 Or maybe even "GetProgram().empty()"?
#elif defined(OS_POSIX)
CommandLine cl(0, NULL);
EXPECT_TRUE(cl.argv().size() == 0);

Powered by Google App Engine
This is Rietveld 408576698