From 139985612b3a37319f01a2e1f97ad00c23f64c54 Mon Sep 17 00:00:00 2001 From: Laurence Lee Date: Sun, 28 Jun 2015 22:12:31 -1000 Subject: [PATCH] Lexer test for elements with inline dots. --- spec/oga/xml/lexer/elements_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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