Commit 1b806c98 authored by aniket-engg's avatar aniket-engg

example contracts updated for tests

parent 24b0798e
'use strict' 'use strict'
const storage = `pragma solidity >=0.7.0 <0.8.0; const storage = `pragma solidity >=0.7.0 <0.9.0;
/** /**
* @title Storage * @title Storage
...@@ -27,7 +27,7 @@ contract Storage { ...@@ -27,7 +27,7 @@ contract Storage {
} }
}` }`
const owner = `pragma solidity >=0.7.0 <0.8.0; const owner = `pragma solidity >=0.7.0 <0.9.0;
/** /**
* @title Owner * @title Owner
...@@ -77,7 +77,7 @@ contract Owner { ...@@ -77,7 +77,7 @@ contract Owner {
} }
}` }`
const ballot = `pragma solidity >=0.7.0 <0.8.0; const ballot = `pragma solidity >=0.7.0 <0.9.0;
/** /**
* @title Ballot * @title Ballot
...@@ -281,7 +281,7 @@ contract Ballot { ...@@ -281,7 +281,7 @@ contract Ballot {
} }
}` }`
const ballotTest = `pragma solidity >=0.4.22 <0.8.0; const ballotTest = `pragma solidity >=0.4.22 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix. import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol"; import "../3_Ballot.sol";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment