From ce056acab7eb6a1af1872917771bad7a682e3d68 Mon Sep 17 00:00:00 2001 From: Ted Lyngmo Date: Fri, 7 Feb 2020 17:52:43 +0100 Subject: [PATCH] Add IsNull() check in test after reassignment (#814) --- test/integration/load_node_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/load_node_test.cpp b/test/integration/load_node_test.cpp index 0e0dd6b..1d86f51 100644 --- a/test/integration/load_node_test.cpp +++ b/test/integration/load_node_test.cpp @@ -7,6 +7,7 @@ namespace { TEST(LoadNodeTest, Reassign) { Node node = Load("foo"); node = Node(); + EXPECT_TRUE(node.IsNull()); } TEST(LoadNodeTest, FallbackValues) {