File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- // // SPDX-License-Identifier: MIT
2- // pragma solidity 0.8.27;
1+ // SPDX-License-Identifier: MIT
2+ pragma solidity 0.8.27 ;
33
4- // import {Test,console} from "forge-std/Test.sol";
5- // import {NexoraOracle} from "src/NexoraOracle.sol";
4+ import {Test,console} from "forge-std/Test.sol " ;
5+ import {NexoraOracle} from "src/NexoraOracle.sol " ;
66
7- // contract NexoraOracleTest is Test {
7+ contract NexoraOracleTest is Test {
88
9- // NexoraOracle oracle;
10- // address temporaryOwner = address(0x11);
9+ NexoraOracle oracle;
10+ address temporaryOwner = address (0x11 );
1111
12- // function setUp() public{
13- // vm.prank(temporaryOwner);
14- // oracle = new NexoraOracle(false);
15- // }
12+ function setUp () public {
13+ vm.prank (temporaryOwner);
14+ oracle = new NexoraOracle (false );
15+ }
1616
17- // function test_checkIsOwnerInitialized() public {
18- // console.log(oracle.owner());
19- // assertEq(oracle.owner() ,address(0x11));
20- // }
17+ function test_checkIsOwnerInitialized () public {
18+ console.log (oracle.owner ());
19+ assertEq (oracle.owner () ,address (0x11 ));
20+ }
2121
22- // }
22+ }
You can’t perform that action at this time.
0 commit comments