lsp: Adding test for custom include paths.

This commit is contained in:
Christian Parpart
2022-07-13 13:57:04 +02:00
parent 31227e442e
commit d89008da0a
3 changed files with 46 additions and 0 deletions
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0;
import "otherlib/otherlib.sol";
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @NotFound
contract MyContract
{
}
// ----
// using-custom-includes: @NotFound 6275
@@ -0,0 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0;
library OtherLib
{
function f(uint n) public returns (uint) { return n + 1; }
}