I'm executing an example in the Truffle Pet Shop tutorial.
While testing with file TestAdoption.sol
, I have encountered the following error:
Source truffle / Assert.sol not found
The source code causing the error is:
pragma solidity ^0.4.17;
import "truffle/Assert.sol"; // error source truffle / Assert.sol not found"
import "truffle/DeployedAddresses.sol";// error source truffle/DeployedAddresses.sol not found"
import "../contracts/Adoption.sol";
contract TestAdoption {
Adoption adoption = Adoption(DeployedAddresses.Adoption());
}
Any suggestions to solve the problem?