diff --git a/packages/compiler-sfc/__tests__/compileScript.spec.ts b/packages/compiler-sfc/__tests__/compileScript.spec.ts
index 42c2a8b1030..d0a354ffadb 100644
--- a/packages/compiler-sfc/__tests__/compileScript.spec.ts
+++ b/packages/compiler-sfc/__tests__/compileScript.spec.ts
@@ -1544,7 +1544,7 @@ const emit = defineEmits(['a', 'b'])
const { content } = compile(`
`)
@@ -1556,7 +1556,7 @@ const emit = defineEmits(['a', 'b'])
const { content } = compile(`
`)