Skip to content

Commit

Permalink
fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jan 8, 2018
1 parent 8867608 commit 6dbc02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/base/SGObject_unittest.cc
Expand Up @@ -435,7 +435,7 @@ TEST(SGObject, watched_parameter_object)
EXPECT_EQ(other_obj->ref_count(), 1);
obj->put("watched_object", dynamic_cast<CSGObject*>(other_obj.get()));
EXPECT_EQ(other_obj->ref_count(), 2);
EXPECT_TRUE(other_obj->equals(obj));
EXPECT_FALSE(other_obj->equals(obj));
obj = nullptr;
EXPECT_EQ(other_obj->ref_count(), 1);
}

0 comments on commit 6dbc02c

Please sign in to comment.