зеркало из https://github.com/github/ruby.git
13 строки
309 B
Ruby
13 строки
309 B
Ruby
require_relative 'rexml_test_utils'
|
|
require 'rexml/parsers/lightparser'
|
|
|
|
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
|