This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -767,19 +767,25 @@ pub mod tests {
767767 }
768768
769769 #[ test]
770- #[ should_panic( expected = "assertion failed:" ) ]
770+ // rust 1.73+ (our as-of-writing nightly version) changed panic message. we're stuck with this
771+ // short common substring until the monorepo is fully 1.73+ including stable.
772+ #[ should_panic( expected = "left == right" ) ]
771773 fn test_storable_accounts_with_hashes_and_write_versions_new2 ( ) {
772774 test_mismatch ( false , false ) ;
773775 }
774776
775777 #[ test]
776- #[ should_panic( expected = "assertion failed:" ) ]
778+ // rust 1.73+ (our as-of-writing nightly version) changed panic message. we're stuck with this
779+ // short common substring until the monorepo is fully 1.73+ including stable.
780+ #[ should_panic( expected = "left == right" ) ]
777781 fn test_storable_accounts_with_hashes_and_write_versions_new3 ( ) {
778782 test_mismatch ( false , true ) ;
779783 }
780784
781785 #[ test]
782- #[ should_panic( expected = "assertion failed:" ) ]
786+ // rust 1.73+ (our as-of-writing nightly version) changed panic message. we're stuck with this
787+ // short common substring until the monorepo is fully 1.73+ including stable.
788+ #[ should_panic( expected = "left == right" ) ]
783789 fn test_storable_accounts_with_hashes_and_write_versions_new4 ( ) {
784790 test_mismatch ( true , false ) ;
785791 }
You can’t perform that action at this time.
0 commit comments