X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.test.cc;h=bf40f0c13a17d963340f11060e6acadcb409e84f;hb=28275a1a9075ae42dc29aaadc5bc78e6fa204e26;hp=50e3c97712a7e00afc4c696d7edd4e8e60356c77;hpb=34378cabd0ef59515f60b8e535d50fd5488c84e2;p=senf.git diff --git a/Utils/Exception.test.cc b/Utils/Exception.test.cc index 50e3c97..bf40f0c 100644 --- a/Utils/Exception.test.cc +++ b/Utils/Exception.test.cc @@ -54,7 +54,7 @@ BOOST_AUTO_UNIT_TEST(errnoException) } } catch (senf::SystemException & e) { - BOOST_CHECK_EQUAL( e.code(), ENOENT ); + BOOST_CHECK_EQUAL( e.errorNumber(), ENOENT ); BOOST_CHECK_EQUAL( e.what(), "::open(): (2) No such file or directory: x=1, y=2" ); } }