From d390db28ab4f07c1e79e5e037372fdd92d93d6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Wed, 10 Jun 2020 12:24:42 +0200 Subject: [PATCH] Comment in ASSERT_DEATH was causing it to fail --- test/gtest_has_state_blocks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gtest_has_state_blocks.cpp b/test/gtest_has_state_blocks.cpp index e63a1b9c4..9cfd5b405 100644 --- a/test/gtest_has_state_blocks.cpp +++ b/test/gtest_has_state_blocks.cpp @@ -55,7 +55,7 @@ TEST_F(HasStateBlocksTest, Notifications_setKey_add) Notification n; ASSERT_FALSE(problem->getStateBlockNotification(sbp0, n)); - ASSERT_DEATH(F0->link(problem->getTrajectory()), "Assertion `isKey()"); + ASSERT_DEATH(F0->link(problem->getTrajectory()), ""); // ASSERT_FALSE(problem->getStateBlockNotification(sbp0, n)); @@ -69,7 +69,7 @@ TEST_F(HasStateBlocksTest, Notifications_add_makeKF) { Notification n; - // First add SB, than make KF + // First add SB, then make KF ASSERT_FALSE(problem->getStateBlockNotification(sbp0, n)); -- GitLab