mirror of https://github.com/vuejs/core.git
fix(test): report correct value of `__EXTEND_POINT__` when subsequent error codes is less than it
This commit is contained in:
parent
4f792535e2
commit
ffa0160e08
|
@ -42,7 +42,7 @@ if (__TEST__) {
|
|||
if (DOMErrorCodes.X_V_HTML_NO_EXPRESSION < ErrorCodes.__EXTEND_POINT__) {
|
||||
throw new Error(
|
||||
`DOMErrorCodes need to be updated to ${
|
||||
ErrorCodes.__EXTEND_POINT__ + 1
|
||||
ErrorCodes.__EXTEND_POINT__
|
||||
} to match extension point from core ErrorCodes.`,
|
||||
)
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ if (__TEST__) {
|
|||
if (SSRErrorCodes.X_SSR_UNSAFE_ATTR_NAME < DOMErrorCodes.__EXTEND_POINT__) {
|
||||
throw new Error(
|
||||
`SSRErrorCodes need to be updated to ${
|
||||
DOMErrorCodes.__EXTEND_POINT__ + 1
|
||||
DOMErrorCodes.__EXTEND_POINT__
|
||||
} to match extension point from core DOMErrorCodes.`,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue