diff --git a/packages/compiler-sfc/__tests__/compileScript.spec.ts b/packages/compiler-sfc/__tests__/compileScript.spec.ts
index a2ccb01ab34..5ebf9d872d3 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(`
`)