diff --git a/packages/webpack-plugin/test/platform/common/mode.spec.js b/packages/webpack-plugin/test/platform/common/mode.spec.js
index 59a0238e0..7df73a9d2 100644
--- a/packages/webpack-plugin/test/platform/common/mode.spec.js
+++ b/packages/webpack-plugin/test/platform/common/mode.spec.js
@@ -76,7 +76,7 @@ describe('template should transform correct', function () {
it('should work correct with web mode', function () {
const input = ''
const output = compileTemplate(input, { mode: 'web' })
- expect(output).toBe('__invoke(e, [[\'handleClick\']])">获取用户信息')
+ expect(output).toBe("__invoke(e, [[\"handleClick\"]])'>获取用户信息")
})
it('should work normal if no attr in tag', function () {