diff --git a/spec/oga/xml/lexer/html_close_self_spec.rb b/spec/oga/xml/lexer/html_close_self_spec.rb deleted file mode 100644 index 83887b9..0000000 --- a/spec/oga/xml/lexer/html_close_self_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'spec_helper' - -describe Oga::XML::Lexer do - described_class::HTML_CLOSE_SELF.each do |element, terminals| - describe "lexing <#{element}> tags" do - terminals.each do |term| - it "automatically closes a <#{element}> followed by a <#{term}>" do - lex_html("<#{element}><#{term}>").should == [ - [:T_ELEM_NAME, element, 1], - [:T_ELEM_END, nil, 1], - [:T_ELEM_NAME, term, 1], - [:T_ELEM_END, nil, 1] - ] - end - end - end - end -end