Refactors the common code of test and bench targets into the solana_runtime::bpf_test_utils module. (#13203)

This commit is contained in:
Alexander Meißner
2020-10-29 10:04:47 +01:00
committed by GitHub
parent a9f339a3ed
commit 65ee3a6bdd
6 changed files with 109 additions and 253 deletions

View File

@@ -1237,7 +1237,7 @@ fn call<'a>(
#[cfg(test)]
mod tests {
use super::*;
use crate::tests::{MockComputeMeter, MockLogger};
use solana_runtime::bpf_test_utils::{MockComputeMeter, MockLogger};
use solana_sdk::hash::hashv;
use std::str::FromStr;