@@ -20,7 +20,7 @@ def test1(self):
20
20
src_reader = parser .source_reader_t (self .config )
21
21
global_ns = declarations .get_global_namespace (
22
22
src_reader .read_string (code ))
23
- aaaa_type = global_ns .var ('aaaa' ).type
23
+ aaaa_type = global_ns .variable ('aaaa' ).type
24
24
self .failUnless (
25
25
'int[2][3][4][5]' == aaaa_type .decl_string ,
26
26
aaaa_type .decl_string )
@@ -30,7 +30,7 @@ def test2(self):
30
30
src_reader = parser .source_reader_t (self .config )
31
31
global_ns = declarations .get_global_namespace (
32
32
src_reader .read_string (code ))
33
- aaaa_type = global_ns .var ('aaaa' ).type
33
+ aaaa_type = global_ns .variable ('aaaa' ).type
34
34
self .failUnless (
35
35
'int *[2][3][4][5]' == aaaa_type .decl_string ,
36
36
aaaa_type .decl_string )
@@ -40,7 +40,7 @@ def test3(self):
40
40
src_reader = parser .source_reader_t (self .config )
41
41
global_ns = declarations .get_global_namespace (
42
42
src_reader .read_string (code ))
43
- aaaa_type = global_ns .var ('aaaa' ).type
43
+ aaaa_type = global_ns .variable ('aaaa' ).type
44
44
self .failUnless (
45
45
'int[2]' == aaaa_type .decl_string ,
46
46
aaaa_type .decl_string )
@@ -50,7 +50,7 @@ def test4(self):
50
50
src_reader = parser .source_reader_t (self .config )
51
51
global_ns = declarations .get_global_namespace (
52
52
src_reader .read_string (code ))
53
- aaaa_type = global_ns .var ('aaaa' ).type
53
+ aaaa_type = global_ns .variable ('aaaa' ).type
54
54
self .failUnless (
55
55
'::xyz[2][3]' == aaaa_type .decl_string ,
56
56
aaaa_type .decl_string )
0 commit comments