We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 943e89b + 26e7869 commit a0ef367Copy full SHA for a0ef367
tests/solidity/dapptest/config.yaml
@@ -1,4 +1,4 @@
1
testMode: dapptest
2
-testLimit: 1000
+testLimit: 5000
3
shrinkLimit: 100
4
seqLen: 1
tests/solidity/values/now.sol
@@ -3,11 +3,12 @@ contract C {
uint time;
5
function set() public {
6
- time = block.timestamp;
+ if (time == 0)
7
+ time = block.timestamp;
8
}
9
10
function guess(uint x) public {
- if (x <= time + 4 weeks && x >= time - 4 weeks )
11
+ if (time > 0 && x <= time + 4 weeks && x >= time - 4 weeks )
12
state = true;
13
14
0 commit comments