diff --git a/test/test_rdoc_markup_to_html.rb b/test/test_rdoc_markup_to_html.rb
index 1e4b84fe9e..b96a55898d 100644
--- a/test/test_rdoc_markup_to_html.rb
+++ b/test/test_rdoc_markup_to_html.rb
@@ -629,7 +629,6 @@ def test_parseable_eh
]
invalid_syntax = [
'def x end',
- 'class C end',
'class C < end',
'module M < C end',
'a=># blah',