From 6ec4ee16473f4e69ec3358f21f935aa233abe561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 31 Mar 2022 15:13:34 +0200 Subject: [PATCH] frame-support: Rename tests to express what they are doing (#11147) Fixes: https://github.com/paritytech/substrate/issues/11145 --- substrate/frame/support/src/storage/bounded_vec.rs | 2 +- substrate/frame/support/src/storage/weak_bounded_vec.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/support/src/storage/bounded_vec.rs b/substrate/frame/support/src/storage/bounded_vec.rs index cf585af395..137015098c 100644 --- a/substrate/frame/support/src/storage/bounded_vec.rs +++ b/substrate/frame/support/src/storage/bounded_vec.rs @@ -693,7 +693,7 @@ pub mod test { } #[test] - fn try_append_is_correct() { + fn bound_returns_correct_value() { assert_eq!(BoundedVec::>::bound(), 7); } diff --git a/substrate/frame/support/src/storage/weak_bounded_vec.rs b/substrate/frame/support/src/storage/weak_bounded_vec.rs index 4b3d87f776..aa6dc88eaa 100644 --- a/substrate/frame/support/src/storage/weak_bounded_vec.rs +++ b/substrate/frame/support/src/storage/weak_bounded_vec.rs @@ -330,7 +330,7 @@ pub mod test { } #[test] - fn try_append_is_correct() { + fn bound_returns_correct_value() { assert_eq!(WeakBoundedVec::>::bound(), 7); }