git-subtree-dir: third_party/libosmium git-subtree-split: ce865381fb752323ff1e66181f5a49b7f500ffa3
11 lines
257 B
C++
11 lines
257 B
C++
|
|
#include "catch.hpp"
|
|
#include "utils.hpp"
|
|
|
|
#include <osmium/io/reader.hpp>
|
|
|
|
TEST_CASE("Reader throws on unsupported file format") {
|
|
REQUIRE_THROWS_AS(osmium::io::Reader{with_data_dir("t/io/data.osm")}, const osmium::unsupported_file_format_error&);
|
|
}
|
|
|