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

Unified Diff: chrome/installer/util/package_unittest.cc

Issue 5848005: base/version: remove wstring version (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry Created 10 years 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
« no previous file with comments | « chrome/installer/util/package.cc ('k') | chrome/installer/util/product_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/package_unittest.cc
diff --git a/chrome/installer/util/package_unittest.cc b/chrome/installer/util/package_unittest.cc
index f1eda9c681430596cb58c88ec5034b12bc0d3db7..53015f4ac9550720ba9de3c79762bf5e3eb73115 100644
--- a/chrome/installer/util/package_unittest.cc
+++ b/chrome/installer/util/package_unittest.cc
@@ -39,8 +39,8 @@ TEST_F(PackageTest, Basic) {
EXPECT_TRUE(package->IsEqual(test_dir_.path()));
EXPECT_EQ(0U, package->products().size());
- const wchar_t kOldVersion[] = L"1.2.3.4";
- const wchar_t kNewVersion[] = L"2.3.4.5";
+ const char kOldVersion[] = "1.2.3.4";
+ const char kNewVersion[] = "2.3.4.5";
scoped_ptr<Version> new_version(Version::GetVersionFromString(kNewVersion));
scoped_ptr<Version> old_version(Version::GetVersionFromString(kOldVersion));
@@ -109,7 +109,7 @@ TEST_F(PackageTest, WithProduct) {
EXPECT_EQ(1U, package->products().size());
EXPECT_EQ(system_level, package->system_level());
- const wchar_t kCurrentVersion[] = L"1.2.3.4";
+ const char kCurrentVersion[] = "1.2.3.4";
scoped_ptr<Version> current_version(
Version::GetVersionFromString(kCurrentVersion));
« no previous file with comments | « chrome/installer/util/package.cc ('k') | chrome/installer/util/product_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698