@@ -352,7 +352,7 @@ pub(crate) mod tests {
352352 }
353353
354354 #[ test]
355- #[ should_panic( expected = "assertion failed: self.no_shrink_in_progress()" ) ]
355+ #[ should_panic( expected = "self.no_shrink_in_progress()" ) ]
356356 fn test_get_slot_storage_entry_fail ( ) {
357357 let storage = AccountStorage :: default ( ) ;
358358 storage
@@ -362,7 +362,7 @@ pub(crate) mod tests {
362362 }
363363
364364 #[ test]
365- #[ should_panic( expected = "assertion failed: self.no_shrink_in_progress()" ) ]
365+ #[ should_panic( expected = "self.no_shrink_in_progress()" ) ]
366366 fn test_all_slots_fail ( ) {
367367 let storage = AccountStorage :: default ( ) ;
368368 storage
@@ -372,7 +372,7 @@ pub(crate) mod tests {
372372 }
373373
374374 #[ test]
375- #[ should_panic( expected = "assertion failed: self.no_shrink_in_progress()" ) ]
375+ #[ should_panic( expected = "self.no_shrink_in_progress()" ) ]
376376 fn test_initialize_fail ( ) {
377377 let mut storage = AccountStorage :: default ( ) ;
378378 storage
@@ -382,9 +382,7 @@ pub(crate) mod tests {
382382 }
383383
384384 #[ test]
385- #[ should_panic(
386- expected = "assertion failed: shrink_can_be_active || self.shrink_in_progress_map.is_empty()"
387- ) ]
385+ #[ should_panic( expected = "shrink_can_be_active || self.shrink_in_progress_map.is_empty()" ) ]
388386 fn test_remove_fail ( ) {
389387 let storage = AccountStorage :: default ( ) ;
390388 storage
@@ -394,7 +392,7 @@ pub(crate) mod tests {
394392 }
395393
396394 #[ test]
397- #[ should_panic( expected = "assertion failed: self.no_shrink_in_progress()" ) ]
395+ #[ should_panic( expected = "self.no_shrink_in_progress()" ) ]
398396 fn test_iter_fail ( ) {
399397 let storage = AccountStorage :: default ( ) ;
400398 storage
@@ -404,7 +402,7 @@ pub(crate) mod tests {
404402 }
405403
406404 #[ test]
407- #[ should_panic( expected = "assertion failed: self.no_shrink_in_progress()" ) ]
405+ #[ should_panic( expected = "self.no_shrink_in_progress()" ) ]
408406 fn test_insert_fail ( ) {
409407 let storage = AccountStorage :: default ( ) ;
410408 let sample = storage. get_test_storage ( ) ;
0 commit comments