diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 23:10:15 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 23:10:15 +0000 |
commit | e231303475899ba94404dacbb8bb9e7c3ef29738 (patch) | |
tree | ea74b09bbd84e134289b28bcc4bb2e6da4a91ceb /chrome/browser/search_engines | |
parent | 06e62baf611d6fca8698d50765bca81989155845 (diff) | |
download | chromium_src-e231303475899ba94404dacbb8bb9e7c3ef29738.zip chromium_src-e231303475899ba94404dacbb8bb9e7c3ef29738.tar.gz chromium_src-e231303475899ba94404dacbb8bb9e7c3ef29738.tar.bz2 |
Coverity: check file_util::ReadFileToString return.
CID=6217
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/257039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines')
-rw-r--r-- | chrome/browser/search_engines/template_url_parser_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/search_engines/template_url_parser_unittest.cc b/chrome/browser/search_engines/template_url_parser_unittest.cc index 18dcad2..d3a6688 100644 --- a/chrome/browser/search_engines/template_url_parser_unittest.cc +++ b/chrome/browser/search_engines/template_url_parser_unittest.cc @@ -43,7 +43,7 @@ class TemplateURLParserTest : public testing::Test { ASSERT_TRUE(file_util::PathExists(full_path)); std::string contents; - file_util::ReadFileToString(full_path, &contents); + ASSERT_TRUE(file_util::ReadFileToString(full_path, &contents)); parse_result_ = TemplateURLParser::Parse( reinterpret_cast<const unsigned char*>(contents.c_str()), contents.length(), filter, &template_url_); |