From e63d59867890b09ccac706b3bc99ec69efd261c1 Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Thu, 14 Aug 2008 22:09:39 +0000 Subject: Add command_line_unittest and pr_time_test to the linux set of unittests. Fix the const-ness of argv in CommandLine on posix. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@901 0039d316-1c4b-4281-b951-d872f2087c98 --- base/command_line_unittest.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'base/command_line_unittest.cc') diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc index d9992c2..c477827 100644 --- a/base/command_line_unittest.cc +++ b/base/command_line_unittest.cc @@ -48,12 +48,12 @@ TEST(CommandLineTest, CommandLineConstructor) { L"--input-translation=\"45\"--output-rotation " L"\"in the time of submarines...\""); #elif defined(OS_POSIX) - char* argv[] = {"program", "--foo=", "-bAr", - "-Spaetzel=pierogi", "-Baz", "flim", - "--other-switches=--dog=canine --cat=feline", - "-spaetzle=Crepe", "-=loosevalue", "flan", - "--input-translation=45--output-rotation", - "in the time of submarines..."}; + const char* argv[] = {"program", "--foo=", "-bAr", + "-Spaetzel=pierogi", "-Baz", "flim", + "--other-switches=--dog=canine --cat=feline", + "-spaetzle=Crepe", "-=loosevalue", "flan", + "--input-translation=45--output-rotation", + "in the time of submarines..."}; CommandLine cl(arraysize(argv), argv); #endif EXPECT_FALSE(cl.command_line_string().empty()); -- cgit v1.1