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 296030c09d2cb7ea284e9597184b632f6da1ea04..99b57b10f7ecebe57c7eec6bff81b7b8c6a44787 100644 |
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
@@ -129,10 +129,12 @@ TEST_F(PlatformAppsManifestTest, CertainApisRequirePlatformApps) { |
manifests.push_back(make_linked_ptr(manifest->DeepCopy())); |
} |
- // First try to load without any flags. This should fail for every API. |
+ // First try to load without any flags. This should warn for every API. |
for (size_t i = 0; i < arraysize(kPlatformAppExperimentalApis); ++i) { |
- LoadAndExpectError(ManifestData(manifests[i].get(), ""), |
- errors::kExperimentalFlagRequired); |
+ LoadAndExpectWarning( |
+ ManifestData(manifests[i].get(), ""), |
+ "'experimental' requires the 'experimental-extension-apis' " |
+ "command line switch to be enabled."); |
} |
// Now try again with the experimental flag set. |