Updated test for less bloat + better readability in graph.

pull/166/head
David Pokora 6 years ago
parent d1b0c1d5b0
commit 3112c3b8c5
No known key found for this signature in database
GPG Key ID: 3CED48D1BB21BDD7
  1. 5
      tests/inheritance_graph.sol

@ -44,9 +44,6 @@ contract Good is A, B {
}
contract C is A {
TestContractVar public shadowed_public_contract;
TestContractVar internal shadowed_private_contract;
function getValue() public pure returns (uint) {
// This function should be marked as overshadowed indirectly by D (via 'F')
return super.getValue() + 1;
@ -57,6 +54,8 @@ contract D is B {
// This should overshadow A's definitions.
uint public shadowed_public_var = 2;
uint internal shadowed_private_var = 2;
TestContractVar public shadowed_public_contract;
TestContractVar internal shadowed_private_contract;
// This contract should use B's getValue() to overshadow C's definition indirectly (via 'F').
}

Loading…
Cancel
Save