| Index: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| index fe4cb71e3ef4c7d0d72a1a61213c7dc9eb578fb9..ca600ed4eb14c1e050408f663008b5e01abee8b2 100644
|
| --- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| +++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| @@ -28,10 +28,13 @@ TEST_F(ExtensionManifestTest, PlatformApps) {
|
| LoadAndExpectError(
|
| "init_invalid_platform_app_2.json",
|
| extension_manifest_errors::kBackgroundRequiredForPlatformApps);
|
| - LoadAndExpectError(
|
| - "init_invalid_platform_app_3.json",
|
| - "Feature 'platform_app' is not accessible. "
|
| - "'platform_app' requires manifest version of at least 2.");
|
| +
|
| + scoped_refptr<Extension> extension =
|
| + LoadAndExpectSuccess("init_invalid_platform_app_3.json");
|
| + ASSERT_TRUE(extension);
|
| + ASSERT_EQ(1u, extension->install_warnings().size());
|
| + EXPECT_EQ("'platform_app' requires manifest version of at least 2.",
|
| + extension->install_warnings()[0]);
|
| }
|
|
|
| TEST_F(ExtensionManifestTest, CertainApisRequirePlatformApps) {
|
|
|