зеркало из https://github.com/github/ruby.git
15 строки
326 B
Ruby
15 строки
326 B
Ruby
require_relative 'rexml_test_utils'
|
|
require 'rexml/parsers/lightparser'
|
|
|
|
module REXML
|
|
class LightParserTester < Test::Unit::TestCase
|
|
include REXMLTestUtils
|
|
include REXML
|
|
def test_parsing
|
|
f = File.new(fixture_path("documentation.xml"))
|
|
parser = REXML::Parsers::LightParser.new( f )
|
|
parser.parse
|
|
end
|
|
end
|
|
end
|