Update test_setid.cpp

This commit is contained in:
Lew Rossman
2018-11-27 16:10:39 -05:00
parent 24d90a530d
commit 7c21b9c740

View File

@@ -72,12 +72,12 @@ BOOST_AUTO_TEST_CASE(test_setid)
// Check that 3rd node has its new name // Check that 3rd node has its new name
error = EN_getnodeindex(ph, newid_2, &index); error = EN_getnodeindex(ph, newid_2, &index);
BOOST_REQUIRE(error == 0); BOOST_REQUIRE(error == 0);
BOOST_CHECK(index == 3); BOOST_REQUIRE(index == 3);
// Check that 3rd link has its new name // Check that 3rd link has its new name
error = EN_getlinkindex(ph, newid_4, &index); error = EN_getlinkindex(ph, newid_4, &index);
BOOST_REQUIRE(error == 0); BOOST_REQUIRE(error == 0);
BOOST_CHECK(index == 3); BOOST_REQUIRE(index == 3);
error = EN_close(ph); error = EN_close(ph);
BOOST_REQUIRE(error == 0); BOOST_REQUIRE(error == 0);