chore: also derive arb for test (#11588)

This commit is contained in:
Matthias Seitz
2024-10-08 20:30:30 +02:00
committed by GitHub
parent f7c76291a1
commit f332f71561

View File

@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
///
/// `key` is the subkey when used as a value in the `StorageChangeSets` table.
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, Serialize, Deserialize, PartialOrd, Ord)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
#[cfg_attr(any(test, feature = "arbitrary"), derive(arbitrary::Arbitrary))]
#[add_arbitrary_tests(compact)]
pub struct StorageEntry {
/// Storage key.