test: fix test case name

This commit is contained in:
Evan You 2024-04-29 18:12:27 +08:00
parent 241790937c
commit 96e8e99304
No known key found for this signature in database
GPG Key ID: B9D421896CA450FB
1 changed files with 1 additions and 1 deletions

View 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