diff options
Diffstat (limited to 'test/rexml/test_lightparser.rb')
-rw-r--r-- | test/rexml/test_lightparser.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/rexml/test_lightparser.rb b/test/rexml/test_lightparser.rb new file mode 100644 index 0000000000..14dcdc21e7 --- /dev/null +++ b/test/rexml/test_lightparser.rb @@ -0,0 +1,11 @@ +require 'test/unit/testcase' +require 'rexml/parsers/lightparser' + +class LightParserTester < Test::Unit::TestCase + include REXML + def test_parsing + f = File.new( "test/data/documentation.xml" ) + parser = REXML::Parsers::LightParser.new( f ) + root = parser.parse + end +end |