Skip to content

Commit 05bd2df

Browse files
committed
fix tests
1 parent 2e5ddf9 commit 05bd2df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/metadata/src/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn spec_constructor_selector_must_serialize_to_hex() {
5555
}
5656

5757
#[test]
58-
#[should_panic(expected = "only one default message allowed")]
58+
#[should_panic(expected = "only one default message is allowed")]
5959
fn spec_contract_only_one_default_message_allowed() {
6060
ContractSpec::new()
6161
.constructors(vec![ConstructorSpec::from_label("new")
@@ -104,7 +104,7 @@ fn spec_contract_only_one_default_message_allowed() {
104104
}
105105

106106
#[test]
107-
#[should_panic(expected = "only one default constructor allowed")]
107+
#[should_panic(expected = "only one default constructor is allowed")]
108108
fn spec_contract_only_one_default_constructor_allowed() {
109109
ContractSpec::new()
110110
.constructors(vec![

0 commit comments

Comments
 (0)