Skip to content

Commit 0bec824

Browse files
omit readme
1 parent daa415d commit 0bec824

File tree

2 files changed

+2
-91
lines changed

2 files changed

+2
-91
lines changed

Diff for: 1_hello_world/README.md

-89
This file was deleted.

Diff for: 1_hello_world/src/contract.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ mod tests {
8585

8686
let _res = instantiate(deps.as_mut(), mock_env(), info, init_msg).unwrap();
8787

88-
// anyone can increment
8988
let info = mock_info(
9089
"anyone",
9190
&[Coin {
@@ -100,7 +99,6 @@ mod tests {
10099
};
101100
let _res = execute(deps.as_mut(), mock_env(), info, exec_msg).unwrap();
102101

103-
// should increase counter by 1
104102
let res = query(
105103
deps.as_ref(),
106104
mock_env(),
@@ -114,6 +112,8 @@ mod tests {
114112
// Print the result to the terminal
115113
println!("Queried Password: {}", value.password);
116114

115+
//cargo test -- --nocapture
116+
117117
assert_eq!("password123", value.password);
118118
}
119119
}

0 commit comments

Comments
 (0)