Skip to content

Commit 73567ce

Browse files
committed
fixing build error
1 parent ead649d commit 73567ce

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

test/NexoraOracle.t.sol

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
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+
}

0 commit comments

Comments
 (0)