-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid input source specified #60
Comments
@niran Thanks so much! That makes sense. Good to know. |
For myself, it was the opposite. Worked: import "./networkmanager.sol"; |
Thanks so much to !!! |
@HOkn That's exactly how you should do it. Your import should have the prefix This will create an error
|
For me, it occurred in my test scripts. What I did was to comment out this line |
When I ran
solidity-coverage
for the first time, it gave me this error:After some debugging, it turns out that the problem was the paths on my imports. I'd been importing
"Contract.sol"
instead of"./Contract.sol"
in my contracts. Since solidity-coverage is more particular about the current working directory than truffle is, someone else might run into this issue. It's not a solidity-coverage bug, but I'm creating an issue in the hopes that the next person to have that problem comes across it.The text was updated successfully, but these errors were encountered: