diff options
author | perissology <perissology@protonmail.com> | 2018-06-25 23:18:02 +0800 |
---|---|---|
committer | perissology <perissology@protonmail.com> | 2018-06-25 23:18:02 +0800 |
commit | 92cb9c3807917049b392d86160e7d88f73a5c7b4 (patch) | |
tree | 5ec2d589394dcfa1db7800d1d35978d87b4f9ae4 /packages/sol-cov/test/fixtures | |
parent | 1a4e99431bf0cfc8c5db2235a935d62ebb8469b2 (diff) | |
download | dexon-0x-contracts-92cb9c3807917049b392d86160e7d88f73a5c7b4.tar.gz dexon-0x-contracts-92cb9c3807917049b392d86160e7d88f73a5c7b4.tar.zst dexon-0x-contracts-92cb9c3807917049b392d86160e7d88f73a5c7b4.zip |
add /*solcov ignore next*/ tests
Diffstat (limited to 'packages/sol-cov/test/fixtures')
-rw-r--r-- | packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol b/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol new file mode 100644 index 000000000..a7977ffb4 --- /dev/null +++ b/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol @@ -0,0 +1,22 @@ +pragma solidity ^0.4.21; + +contract SolcovIgnore { + uint public storedData; + + function set(uint x) public { + /* solcov ignore next */ + storedData = x; + } + + /* solcov ignore next */ + function get() constant public returns (uint retVal) { + return storedData; + } +} + +/* solcov ignore next */ +contract Ignore { + function ignored() public returns (bool) { + return false; + } +} |