# File tests/tokenizertester.rb, line 363 def test_attr_val_lt_predefined xml = '<variable name="$<" type="Object">' h = {'name' => "\%code%quot;, 'type' => 'Object'} tag = NQXML::Tag.new('variable', h, false, '<variable name="$<" type="Object">') t = NQXML::Tokenizer.new(xml) i = 0 t.each { | e | assert_equal(tag, e) i += 1 } assert_equal(1, i) assert(t.eof?) end