Skip to content

Commit

Permalink
test: fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manu0466 committed Jul 17, 2023
1 parent c52b286 commit 1ef1f99
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 30 deletions.
31 changes: 6 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cosmwasm-schema = "1.3.0"
cw-storage-plus = "1.1.0"
cw-utils = "1.0.1"
cw2 = "1.1.0"
cw-multi-test = "0.16.5"
cw-multi-test = "0.15.1"
# Desmos dependencies
desmos-bindings = { version = "1.1.1", default-features = false }
# Misc dependencies
Expand Down
4 changes: 2 additions & 2 deletions contracts/remarkables/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ mod tests {
assert_eq!(
instantiate(deps.as_mut(), env, info, invalid_msg).unwrap_err(),
ContractError::Std(StdError::generic_err(
"Invalid input: human address too short"
"Invalid input: human address too short for this mock implementation (must be >= 3)."
))
)
}
Expand Down Expand Up @@ -928,7 +928,7 @@ mod tests {
assert_eq!(
execute(deps.as_mut(), env, info, msg).unwrap_err(),
ContractError::Std(StdError::generic_err(
"Invalid input: human address too short"
"Invalid input: human address too short for this mock implementation (must be >= 3)."
))
)
}
Expand Down
4 changes: 2 additions & 2 deletions contracts/tips/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ mod tests {

assert_eq!(
ContractError::Std(StdError::generic_err(
"Invalid input: human address too short"
"Invalid input: human address too short for this mock implementation (must be >= 3)."
)),
tip_error
);
Expand Down Expand Up @@ -1589,7 +1589,7 @@ mod tests {

assert_eq!(
ContractError::Std(StdError::generic_err(
"Invalid input: human address too short"
"Invalid input: human address too short for this mock implementation (must be >= 3)."
)),
error
);
Expand Down

0 comments on commit 1ef1f99

Please sign in to comment.