diff --git a/spec/oga/xml/lexer/inline_javascript_spec.rb b/spec/oga/xml/lexer/inline_javascript_spec.rb index 8a510e8..aa2ac9b 100644 --- a/spec/oga/xml/lexer/inline_javascript_spec.rb +++ b/spec/oga/xml/lexer/inline_javascript_spec.rb @@ -20,8 +20,8 @@ describe Oga::XML::Lexer do [:T_ELEM_START, nil, 1], [:T_ELEM_NAME, 'script', 1], [:T_TEXT, @javascript, 1], - [:T_ELEM_END, nil, 1], - [:T_COMMENT, 'foo', 1] + [:T_COMMENT, 'foo', 1], + [:T_ELEM_END, nil, 1] ] end end