diff --git a/doc/guides/using-internal-errors.md b/doc/guides/using-internal-errors.md index 77eabb4ad48dec..9fac1298a1d050 100644 --- a/doc/guides/using-internal-errors.md +++ b/doc/guides/using-internal-errors.md @@ -111,8 +111,8 @@ assert.strictEqual( ``` In addition, there should also be tests which validate the use of the -error based on where it is used in the codebase. For these tests, except in -special cases, they should only validate that the expected code is received +error based on where it is used in the codebase. If the error message is +static, these tests should only validate that the expected code is received and NOT validate the message. This will reduce the amount of test change required when the message for an error changes.