Skip to content

Commit c8cb5ed

Browse files
author
Maxime Brugel
committed
test: add tests
1 parent 9241348 commit c8cb5ed

4 files changed

Lines changed: 1429 additions & 2 deletions

File tree

‎foundry.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ out = "out"
44
libs = ["lib"]
55
# Exclude mock contracts and scripts from coverage reports
66
no_match_coverage = "mock|\\.s\\.sol$"
7+
# Enable auto-detection for multiple Solidity versions
8+
auto_detect_solc = true
79

810
[fmt]
911
tab_width = 2

‎src/borrow/MorphoBorrowPosition.sol‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: BUSL-1.1
2-
pragma solidity ^0.8.20;
2+
pragma solidity ^0.8.19;
33

44
import {Initializable} from "lib/solady/src/utils/Initializable.sol";
55
import {Ownable} from "lib/solady/src/auth/Ownable.sol";

‎src/interfaces/borrow/IBorrowPosition.sol‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: BUSL-1.1
2-
pragma solidity ^0.8.20;
2+
pragma solidity ^0.8.19;
33

44
/// @title IBorrowPosition
55
/// @notice Interface for borrow position contracts that manages a single borrowing position (e.g. Morpho, Euler, etc.)

0 commit comments

Comments
 (0)