add test cfg attribute (#24154)
This commit is contained in:
@ -455,6 +455,8 @@ impl AppendVec {
|
|||||||
next,
|
next,
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
pub fn get_account_test(&self, offset: usize) -> Option<(StoredMeta, AccountSharedData)> {
|
pub fn get_account_test(&self, offset: usize) -> Option<(StoredMeta, AccountSharedData)> {
|
||||||
let (stored_account, _) = self.get_account(offset)?;
|
let (stored_account, _) = self.get_account(offset)?;
|
||||||
let meta = stored_account.meta.clone();
|
let meta = stored_account.meta.clone();
|
||||||
|
Reference in New Issue
Block a user