Skip to content

Commit

Permalink
finish 02
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingandyyy committed Nov 19, 2017
1 parent 0cc761a commit 430aea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 02-Testing/finish/contracts/HelloEthSalon.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.4;

contract HelloEthSalon {
string message = "Hello Ethereum Salon!";
string message = "I know smart contract testing!!";

function HelloEthSalon() {
// constructor
Expand Down
2 changes: 1 addition & 1 deletion 02-Testing/finish/test/hello_eth_salon.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ contract("HelloEthSalon:GetMessage", function (accounts) {
it("should return a correct string", async function () {
const contract = await HelloEthSalon.deployed();
const result = await contract.GetMessage.call();
assert.isTrue(result === "Hello Ethereum Salon!");
assert.isTrue(result === "I know smart contract testing!!");
});
});

0 comments on commit 430aea1

Please sign in to comment.