Skip to content

Commit 8be9180

Browse files
authored
rename(testing): Testing to Tester, TestingOhkami to TestOhkami (#548)
1 parent 4f96fe9 commit 8be9180

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

ohkami/src/testing/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ use std::collections::HashMap;
3737
use std::sync::Arc;
3838
use std::{pin::Pin, future::Future, format as f};
3939

40-
pub trait Testing {
41-
fn test(self) -> TestingOhkami;
40+
pub trait Tester {
41+
fn test(self) -> TestOhkami;
4242
}
4343

44-
pub struct TestingOhkami(Arc<Router>);
45-
46-
impl Testing for Ohkami {
47-
fn test(self) -> TestingOhkami {
44+
impl Tester for Ohkami {
45+
fn test(self) -> TestOhkami {
4846
let (f, _) = self.into_router().finalize();
49-
TestingOhkami(Arc::new(f))
47+
TestOhkami(Arc::new(f))
5048
}
5149
}
5250

53-
impl TestingOhkami {
51+
pub struct TestOhkami(Arc<Router>);
52+
53+
impl TestOhkami {
5454
#[must_use]
5555
pub fn oneshot(&self, test_req: TestRequest) -> Oneshot {
5656
let router = self.0.clone();

0 commit comments

Comments
 (0)