diff --git a/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx b/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx index b201eb323a8ae3a6a3ac541791e06e3d28cd1227..6e6eb7301bb9bb27a268e427a6eb0fe36b684294 100644 --- a/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx +++ b/Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx @@ -111,9 +111,9 @@ BOOST_AUTO_TEST_CASE(OGRDataSource_mem_add_n_del_layer) BOOST_AUTO_TEST_CASE(OGRDataSource_new_exceptions) { BOOST_CHECK_THROW(ogr::DataSource::New("name-that-shall-not-exist.shp", ogr::DataSource::Modes::Read), - itk::ExceptionObject); + itk::ExceptionObject); BOOST_CHECK_THROW(ogr::DataSource::New("unsupported.extension", ogr::DataSource::Modes::Overwrite), - itk::ExceptionObject) + itk::ExceptionObject); } BOOST_AUTO_TEST_CASE(OGRDataSource_new_shp)