diff --git a/spec/oga/xml/lexer/elements_spec.rb b/spec/oga/xml/lexer/elements_spec.rb index c0c512f..a0effd3 100644 --- a/spec/oga/xml/lexer/elements_spec.rb +++ b/spec/oga/xml/lexer/elements_spec.rb @@ -307,4 +307,12 @@ describe Oga::XML::Lexer do ] end end + + it 'lexes an element with inline dots' do + lex('').should == [ + [:T_ELEM_NAME, "SOAP..TestMapping..MappablePerson", 1], + [:T_ELEM_END, nil, 1] + ] + end + end