Lexer test for elements with inline dots.

This commit is contained in:
Laurence Lee 2015-06-28 22:12:31 -10:00 committed by Yorick Peterse
parent b7771ed5fe
commit 139985612b
1 changed files with 8 additions and 0 deletions

View File

@ -307,4 +307,12 @@ describe Oga::XML::Lexer do
]
end
end
it 'lexes an element with inline dots' do
lex('<SOAP..TestMapping..MappablePerson>').should == [
[:T_ELEM_NAME, "SOAP..TestMapping..MappablePerson", 1],
[:T_ELEM_END, nil, 1]
]
end
end