From ee94d452b99306d37fa8103981562125c31056c8 Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Tue, 29 Sep 2009 01:56:31 +0000 Subject: Coverity: check result of file_util::CopyFile. CID=5099 BUG=none TEST=none Review URL: http://codereview.chromium.org/251023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27450 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bookmarks/bookmark_model_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/bookmarks/bookmark_model_unittest.cc b/chrome/browser/bookmarks/bookmark_model_unittest.cc index d0160e5..047ac25 100644 --- a/chrome/browser/bookmarks/bookmark_model_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_model_unittest.cc @@ -780,7 +780,7 @@ TEST_F(BookmarkModelTestWithProfile2, MigrateFromDBToFileTest) { file_util::CreateDirectory(new_history_path); FilePath new_history_file = new_history_path.Append( chrome::kHistoryFilename); - file_util::CopyFile(old_history_path, new_history_file); + ASSERT_TRUE(file_util::CopyFile(old_history_path, new_history_file)); // Create the history service making sure it doesn't blow away the file we // just copied. -- cgit v1.1