Skip to content

Commit

Permalink
Improve assertion text.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Jun 23, 2023
1 parent 10d58af commit b65976a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn init_data_with_global_offset() {
},
&contract,
);
assert!(res.is_err(), "Globals can be used in V1 data section validation.");
assert!(res.is_err(), "Globals cannot be used in V1 data section validation.");
}

#[test]
Expand All @@ -87,5 +87,5 @@ fn init_element_with_global_offset() {
},
&contract,
);
assert!(res.is_err(), "Globals can be used in V1 element section validation.");
assert!(res.is_err(), "Globals cannot be used in V1 element section validation.");
}

0 comments on commit b65976a

Please sign in to comment.