When I try to run the tests distributed in osmlib-0.1.4 I'm getting the following failures. The first failure is easy
to fix by providing the test/test.osm file that is in SVN, so please provide that in future gem releases as well.
I have not investigated the second test yet, but it is not solved by providing the test.osm file.
1) Error:
test_create_with_file(TestParser):
Errno::ENOENT: ./lib/OSM/StreamParser/REXML.rb:29:in `initialize': No such file or directory - test/test.osm
./lib/OSM/StreamParser.rb:265:in `new'
./lib/OSM/StreamParser/REXML.rb:29:in `new'
./lib/OSM/StreamParser/REXML.rb:29:in `initialize'
(eval):1:in `new'
(eval):1:in `new'
./test/test_parser.rb:39:in `eval'
./lib/OSM/StreamParser.rb:265:in `new'
./test/test_parser.rb:39:in `test_create_with_file'
2) Failure:
test_way(TestXml) [./test/test_xml.rb:141]:
<["42", "43"]> expected but was
<["85", "87"]>.
97 tests, 362 assertions, 1 failures, 1 errors
|