diff --git a/src/api/mod.rs b/src/api/mod.rs index 641233b6..fcbdc063 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -7,7 +7,7 @@ pub use adapter::{ }; pub use mock::{Mock, MockExt}; pub use server::MockServer; -pub use spec::{When, Then}; +pub use spec::{Then, When}; mod adapter; mod mock; diff --git a/src/lib.rs b/src/lib.rs index 52e22c1c..22b72cde 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -230,7 +230,7 @@ use api::MockServerAdapter; use common::util::Join; use api::{LocalMockServerAdapter, RemoteMockServerAdapter}; -pub use api::{Method, Mock, MockExt, MockServer, Regex, When, Then}; +pub use api::{Method, Mock, MockExt, MockServer, Regex, Then, When}; use server::{start_server, MockServerState}; mod api;