a bit more in the empty struct test

This commit is contained in:
David Renshaw 2014-10-15 09:34:47 -04:00
parent 7bc197456d
commit 2d7816fae4

View file

@ -219,6 +219,12 @@ class EncodingSuite extends FunSuite {
any.initAs(TestEmptyStruct.factory);
any.isNull() should equal (false);
root.hasAnyPointerField() should equal (true);
{
val rootReader = root.asReader();
rootReader.hasAnyPointerField() should equal (true);
rootReader.getAnyPointerField().isNull() should equal (false);
}
}
// to debug, do this: