Update lockedEther testcase

pull/20/head
Josselin 6 years ago
parent ca51fcf502
commit 8cc789e18a
  1. 3
      scripts/travis_test.sh
  2. 2
      tests/locked_ether.sol

@ -7,8 +7,9 @@ if [ $? -ne 1 ]; then
exit 1 exit 1
fi fi
# contains also the test for the suicidal detector
slither tests/backdoor.sol --disable-solc-warnings slither tests/backdoor.sol --disable-solc-warnings
if [ $? -ne 1 ]; then if [ $? -ne 2 ]; then
exit 1 exit 1
fi fi

@ -22,3 +22,5 @@ contract Unlocked is Locked, Send{
} }
} }
contract OnlyLocked is Locked{ }

Loading…
Cancel
Save