a bit more in the empty struct test
This commit is contained in:
parent
7bc197456d
commit
2d7816fae4
1 changed files with 6 additions and 0 deletions
|
@ -219,6 +219,12 @@ class EncodingSuite extends FunSuite {
|
||||||
any.initAs(TestEmptyStruct.factory);
|
any.initAs(TestEmptyStruct.factory);
|
||||||
any.isNull() should equal (false);
|
any.isNull() should equal (false);
|
||||||
root.hasAnyPointerField() should equal (true);
|
root.hasAnyPointerField() should equal (true);
|
||||||
|
|
||||||
|
{
|
||||||
|
val rootReader = root.asReader();
|
||||||
|
rootReader.hasAnyPointerField() should equal (true);
|
||||||
|
rootReader.getAnyPointerField().isNull() should equal (false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// to debug, do this:
|
// to debug, do this:
|
||||||
|
|
Loading…
Reference in a new issue