Skip to content
Snippets Groups Projects
Commit 857201ca authored by vahrenkamp's avatar vahrenkamp
Browse files

Fixing test.

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@219 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 0e4e4a4c
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@ BOOST_AUTO_TEST_CASE(testRobotConfigSetInvalidConfig)
BOOST_REQUIRE(c);
const std::string node2 = "JointNotPresent";
BOOST_REQUIRE_THROW(c->setConfig(node2,0.0f),VirtualRobot::VirtualRobotException);
bool ok = c->setConfig(node2,0.0f);
BOOST_REQUIRE(!ok);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment