]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: fix test case name
authorEvan You <yyx990803@gmail.com>
Mon, 29 Apr 2024 10:12:27 +0000 (18:12 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 29 Apr 2024 10:12:27 +0000 (18:12 +0800)
packages/compiler-core/__tests__/transforms/transformExpressions.spec.ts

index 273634dd57b8dfbbf2a32eabe2d3fe222a6167e6..ffd93d791ca7faed67a380f770c38cc8894548c0 100644 (file)
@@ -431,7 +431,7 @@ describe('compiler: expression transform', () => {
     })
   })
 
-  test('should not bail constant on strings w/ ()', () => {
+  test('should bail constant for global identifiers w/ new or call expressions', () => {
     const node = parseWithExpressionTransform(
       `{{ new Date().getFullYear() }}`,
     ) as InterpolationNode