Commit 4074eb61 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

use isnull in test


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1413 e5f2f494-b856-4b98-b285-d166d9295462
parent 87b9b18a
......@@ -66,7 +66,7 @@ TEST(ModuleSpec, ReadingSpecfiles) {
dd = moduleSpecFromFile(file);
EXPECT_EQ(dd.getFullSpec()->get("module_name")
->stringValue(), "Spec1");
EXPECT_EQ(dd.getCommandsSpec(), ElementPtr());
EXPECT_TRUE(isNull(dd.getCommandsSpec()));
std::ifstream file2;
file2.open(specfile("spec8.spec").c_str());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment