Skip to content

Commit 430aea1

Browse files
committed
finish 02
1 parent 0cc761a commit 430aea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

02-Testing/finish/contracts/HelloEthSalon.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pragma solidity ^0.4.4;
22

33
contract HelloEthSalon {
4-
string message = "Hello Ethereum Salon!";
4+
string message = "I know smart contract testing!!";
55

66
function HelloEthSalon() {
77
// constructor

02-Testing/finish/test/hello_eth_salon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ contract("HelloEthSalon:GetMessage", function (accounts) {
44
it("should return a correct string", async function () {
55
const contract = await HelloEthSalon.deployed();
66
const result = await contract.GetMessage.call();
7-
assert.isTrue(result === "Hello Ethereum Salon!");
7+
assert.isTrue(result === "I know smart contract testing!!");
88
});
99
});

0 commit comments

Comments
 (0)