diff --git a/zebra-test/src/mock_service.rs b/zebra-test/src/mock_service.rs index ef1dc412a..21debf97c 100644 --- a/zebra-test/src/mock_service.rs +++ b/zebra-test/src/mock_service.rs @@ -315,7 +315,6 @@ impl MockService MockService bool, @@ -420,7 +418,6 @@ impl MockService MockService ResponseSender { match self.try_next_request().await { Some(request) => request, @@ -507,7 +503,6 @@ impl MockService MockService bool, @@ -629,7 +623,6 @@ impl MockService Result<(), TestCaseError> where Request: Debug, @@ -657,7 +650,6 @@ impl MockService Result, TestCaseError> { diff --git a/zebra-test/src/transcript.rs b/zebra-test/src/transcript.rs index a8538260c..5f25ae063 100644 --- a/zebra-test/src/transcript.rs +++ b/zebra-test/src/transcript.rs @@ -1,16 +1,17 @@ //! A [`Service`](tower::Service) implementation based on a fixed transcript. +use std::{ + fmt::Debug, + sync::Arc, + task::{Context, Poll}, +}; + use color_eyre::{ eyre::{eyre, Report, WrapErr}, section::Section, section::SectionExt, }; use futures::future::{ready, Ready}; -use std::{ - fmt::Debug, - sync::Arc, - task::{Context, Poll}, -}; use tower::{Service, ServiceExt}; type BoxError = Box; @@ -90,7 +91,6 @@ where S: Debug + Eq, { /// Check this transcript against the responses from the `to_check` service - #[track_caller] pub async fn check(mut self, mut to_check: C) -> Result<(), Report> where C: Service,