diff --git a/tests/lib/rules/no-undef-components.js b/tests/lib/rules/no-undef-components.js
index 5af9468fe..274266d21 100644
--- a/tests/lib/rules/no-undef-components.js
+++ b/tests/lib/rules/no-undef-components.js
@@ -19,6 +19,17 @@ const tester = new RuleTester({
tester.run('no-undef-components', rule, {
valid: [
//
+
+
+
+
+ `
+ },
{
filename: 'test.vue',
code: `