mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.2.x] fixed : test for unnamed nested structures
git-svn-id: https://pykd.svn.codeplex.com/svn@83403 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
88ed1db5a7
commit
00aa7d2e6b
@ -166,8 +166,8 @@ class TypeInfoTest( unittest.TestCase ):
|
||||
def testNestedStruct( self ):
|
||||
ti = target.module.type("StructWithNested")
|
||||
self.assertTrue( hasattr( ti, "m_field" ) )
|
||||
self.assertTrue( hasattr( ti, "m_field2" ) )
|
||||
self.assertFalse( hasattr( ti, "m_nestedFiled" ) )
|
||||
self.assertFalse( hasattr( ti, "m_field2" ) )
|
||||
|
||||
ti = target.module.type("StructWithNested::Nested")
|
||||
self.assertTrue( hasattr( ti, "m_nestedFiled" ) )
|
||||
|
Loading…
Reference in New Issue
Block a user