Wrap the initial construction test with EXPECT_NO_THROW(), this will ensure any underlying exceptions are caught. The other tests need similar fixes which I'll look to later on unix.
Originally committed to SVN as r4352.
This commit is contained in:
parent
c65de83b26
commit
fc77763e95
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ protected:
|
||||||
|
|
||||||
|
|
||||||
TEST_F(lagi_mru, MRUConstructFromFile) {
|
TEST_F(lagi_mru, MRUConstructFromFile) {
|
||||||
agi::MRUManager mru(conf_ok, default_mru);
|
EXPECT_NO_THROW(agi::MRUManager mru(conf_ok, default_mru));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(lagi_mru, MRUConstructFromString) {
|
TEST_F(lagi_mru, MRUConstructFromString) {
|
||||||
|
|
Loading…
Reference in a new issue