| Index: extensions/renderer/api_invocation_errors_unittest.cc
|
| diff --git a/extensions/renderer/api_invocation_errors_unittest.cc b/extensions/renderer/api_invocation_errors_unittest.cc
|
| index 2149cc56ced1d96a548618b785cf6033a6ab2cb9..b6b9f189a1bc60b019838738eaa4ea63ddfd390e 100644
|
| --- a/extensions/renderer/api_invocation_errors_unittest.cc
|
| +++ b/extensions/renderer/api_invocation_errors_unittest.cc
|
| @@ -22,6 +22,15 @@ TEST(APIInvocationErrors, ChainedErrors) {
|
| "Invalid type: expected string, found integer.",
|
| PropertyError("foo",
|
| IndexError(1, InvalidType(kTypeString, kTypeInteger))));
|
| +
|
| + EXPECT_EQ(
|
| + "Error at parameter 'foo': Invalid type: expected string, found integer.",
|
| + ArgumentError("foo", InvalidType(kTypeString, kTypeInteger)));
|
| + EXPECT_EQ(
|
| + "Error at parameter 'foo': Error at index 0: "
|
| + "Invalid type: expected string, found integer.",
|
| + ArgumentError("foo",
|
| + IndexError(0, InvalidType(kTypeString, kTypeInteger))));
|
| }
|
|
|
| } // namespace api_errors
|
|
|