Commit 05bd2df 1 parent 2e5ddf9 commit 05bd2df Copy full SHA for 05bd2df
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ fn spec_constructor_selector_must_serialize_to_hex() {
55
55
}
56
56
57
57
#[ test]
58
- #[ should_panic( expected = "only one default message allowed" ) ]
58
+ #[ should_panic( expected = "only one default message is allowed" ) ]
59
59
fn spec_contract_only_one_default_message_allowed ( ) {
60
60
ContractSpec :: new ( )
61
61
. constructors ( vec ! [ ConstructorSpec :: from_label( "new" )
@@ -104,7 +104,7 @@ fn spec_contract_only_one_default_message_allowed() {
104
104
}
105
105
106
106
#[ test]
107
- #[ should_panic( expected = "only one default constructor allowed" ) ]
107
+ #[ should_panic( expected = "only one default constructor is allowed" ) ]
108
108
fn spec_contract_only_one_default_constructor_allowed ( ) {
109
109
ContractSpec :: new ( )
110
110
. constructors ( vec ! [
You can’t perform that action at this time.
0 commit comments