From 542258c2719723200e46a45fdd7dc571ed5b90cf Mon Sep 17 00:00:00 2001 From: "skerner@chromium.org" Date: Fri, 4 Mar 2011 21:25:31 +0000 Subject: Give a helpful warning message if a url patern contains a port. BUG=32160 TEST=ExtensionURLPatternTest.Ports,ExtensionManifestTest.* Review URL: http://codereview.chromium.org/2835034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76967 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/background_application_list_model_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/background_application_list_model_unittest.cc') diff --git a/chrome/browser/background_application_list_model_unittest.cc b/chrome/browser/background_application_list_model_unittest.cc index 27e8514..4f4a249 100644 --- a/chrome/browser/background_application_list_model_unittest.cc +++ b/chrome/browser/background_application_list_model_unittest.cc @@ -90,7 +90,7 @@ static scoped_refptr CreateExtension(const std::string& name, std::string error; scoped_refptr extension = Extension::Create( bogus_file_path().AppendASCII(name), Extension::INVALID, manifest, false, - &error); + true, &error); // Cannot ASSERT_* here because that attempts an illegitimate return. // Cannot EXPECT_NE here because that assumes non-pointers unlike EXPECT_EQ EXPECT_TRUE(extension.get() != NULL) << error; -- cgit v1.1