I am getting the following error message when entering > truffle test
SyntaxError: Functions are not allowed to have the same name as the contract. If you intend this to be a constructor, use "constructor(...) { ... }" to define it.
function DappToken (uint256 _initialSupply) public {
^ (Relevant source part starts here and spans across multiple lines).
I am getting the following error message when entering > truffle test
SyntaxError: Functions are not allowed to have the same name as the contract. If you intend this to be a constructor, use "constructor(...) { ... }" to define it. function DappToken (uint256 _initialSupply) public { ^ (Relevant source part starts here and spans across multiple lines).