t.ok(common.getType(blockHashAccess)==='function (uint256) view returns (bytes32)','gettype should work for different nodes')
t.ok(common.getType(node)==='uint256','gettype should work for different nodes')
t.ok(common.getType(node)==='uint256','gettype should work for different nodes')
t.ok(common.getType(node2)==='function () payable returns (bool)','gettype should work for different nodes')
t.ok(common.getType(node3)==='function () payable returns (bool)','gettype should work for different nodes')
})
})
// #################### Complex Getter Test
// #################### Complex Getter Test
...
@@ -297,110 +305,6 @@ test('staticAnalysisCommon.getFullQuallyfiedFuncDefinitionIdent', function (t) {
...
@@ -297,110 +305,6 @@ test('staticAnalysisCommon.getFullQuallyfiedFuncDefinitionIdent', function (t) {
t.throws(()=>common.getFullQuallyfiedFuncDefinitionIdent({name:'FunctionCall'},fullyQualifiedFunctionDefinition,['uint256','bool']),Error,'throws on wrong nodes')
t.throws(()=>common.getFullQuallyfiedFuncDefinitionIdent({name:'FunctionCall'},fullyQualifiedFunctionDefinition,['uint256','bool']),Error,'throws on wrong nodes')