Add IsNull() thruth test after reassignment
Add EXPECT_TRUE(node.IsNull()) after reassignment in test LoadNodeTest.Reassign. Signed-off-by: Ted Lyngmo <ted@lyncon.se>
This commit is contained in:
parent
9ab22ef493
commit
903445e47a
@ -7,6 +7,7 @@ namespace {
|
||||
TEST(LoadNodeTest, Reassign) {
|
||||
Node node = Load("foo");
|
||||
node = Node();
|
||||
EXPECT_TRUE(node.IsNull());
|
||||
}
|
||||
|
||||
TEST(LoadNodeTest, FallbackValues) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user