File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ mod tests {
523523 #[ test]
524524 #[ cfg_attr(
525525 debug_assertions,
526- should_panic = "messsaging newMethodOnInstance to nil"
526+ should_panic = "messaging newMethodOnInstance to nil"
527527 ) ]
528528 #[ cfg_attr(
529529 not( debug_assertions) ,
@@ -537,7 +537,7 @@ mod tests {
537537 #[ test]
538538 #[ cfg_attr(
539539 debug_assertions,
540- should_panic = "messsaging newMethodOnInstance to nil"
540+ should_panic = "messaging newMethodOnInstance to nil"
541541 ) ]
542542 #[ cfg_attr(
543543 not( debug_assertions) ,
@@ -642,7 +642,7 @@ mod tests {
642642 }
643643
644644 #[ test]
645- #[ cfg_attr( debug_assertions, should_panic = "messsaging init to nil" ) ]
645+ #[ cfg_attr( debug_assertions, should_panic = "messaging init to nil" ) ]
646646 #[ cfg_attr( not( debug_assertions) , ignore = "failed allocating object" ) ]
647647 fn test_init_with_null_receiver ( ) {
648648 let obj: Allocated < RcTestObject > =
@@ -778,7 +778,7 @@ mod tests {
778778 }
779779
780780 #[ test]
781- #[ cfg_attr( debug_assertions, should_panic = "messsaging description to nil" ) ]
781+ #[ cfg_attr( debug_assertions, should_panic = "messaging description to nil" ) ]
782782 #[ cfg_attr(
783783 not( debug_assertions) ,
784784 ignore = "unexpected NULL description; receiver was NULL"
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ fn msg_send_check_class(
339339#[ cfg( debug_assertions) ]
340340#[ track_caller]
341341fn panic_null ( sel : Sel ) -> ! {
342- panic ! ( "messsaging {sel} to nil" )
342+ panic ! ( "messaging {sel} to nil" )
343343}
344344
345345#[ cfg( debug_assertions) ]
@@ -592,7 +592,7 @@ mod tests {
592592 }
593593
594594 #[ test]
595- #[ cfg_attr( debug_assertions, should_panic = "messsaging description to nil" ) ]
595+ #[ cfg_attr( debug_assertions, should_panic = "messaging description to nil" ) ]
596596 fn test_send_message_nil ( ) {
597597 let nil: * mut NSObject = :: core:: ptr:: null_mut ( ) ;
598598
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ fn test_track_caller() {
102102fn test_nil ( checker : & PanicChecker ) {
103103 let nil: * mut NSObject = ptr:: null_mut ( ) ;
104104
105- let msg = "messsaging description to nil" ;
105+ let msg = "messaging description to nil" ;
106106 checker. assert_panics ( msg, line ! ( ) + 1 , || {
107107 let _: * mut NSObject = unsafe { msg_send ! [ nil, description] } ;
108108 } ) ;
@@ -131,7 +131,7 @@ fn test_verify(checker: &PanicChecker) {
131131fn test_error_methods ( checker : & PanicChecker ) {
132132 let nil: * mut NSObject = ptr:: null_mut ( ) ;
133133
134- let msg = "messsaging someSelectorWithError: to nil" ;
134+ let msg = "messaging someSelectorWithError: to nil" ;
135135 checker. assert_panics ( msg, line ! ( ) + 1 , || {
136136 let _: Result < ( ) , Retained < NSObject > > = unsafe { msg_send ! [ nil, someSelectorWithError: _] } ;
137137 } ) ;
@@ -162,7 +162,7 @@ fn test_retained_unwrap(checker: &PanicChecker) {
162162 } ) ;
163163
164164 let msg = if cfg ! ( debug_assertions) {
165- "messsaging init to nil"
165+ "messaging init to nil"
166166 } else {
167167 "failed allocating object"
168168 } ;
You can’t perform that action at this time.
0 commit comments