From 345e1b89c38bf19ebce483ae5392474bbf63ae59 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Mon, 5 Jan 2009 23:36:01 +0000 Subject: Unbreak unit tests. Revert r7564. tbr=jhawkins Review URL: http://codereview.chromium.org/16522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7571 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_path_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/file_path_unittest.cc') diff --git a/base/file_path_unittest.cc b/base/file_path_unittest.cc index b4ad16f..37fd41a 100644 --- a/base/file_path_unittest.cc +++ b/base/file_path_unittest.cc @@ -209,8 +209,8 @@ TEST_F(FilePathTest, BaseName) { for (size_t i = 0; i < arraysize(cases); ++i) { FilePath input(cases[i].input); - FilePath observed = input.BaseName(); - EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << + FilePath::StringType observed = input.BaseName(); + EXPECT_EQ(FilePath::StringType(cases[i].expected), observed) << "i: " << i << ", input: " << input.value(); } } -- cgit v1.1