]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(test): report correct value of `__EXTEND_POINT__` when subsequent error codes...
author山吹色御守 <85992002+KazariEX@users.noreply.github.com>
Fri, 18 Jul 2025 08:24:29 +0000 (01:24 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Jul 2025 08:24:29 +0000 (16:24 +0800)
packages/compiler-dom/src/errors.ts
packages/compiler-ssr/src/errors.ts

index b47624840abe1e34b0619ff1c04d661394ef7bd3..faf6fb564413b5b58f9769290d41f638a74cf2a8 100644 (file)
@@ -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.`,
     )
   }
index e4fd505d282939141e1e39a2a34b250c57363086..bea0774215eadc9b2728eeb1dd60a287a875cd01 100644 (file)
@@ -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.`,
     )
   }