Skip to content

Commit

Permalink
Fix: _test.rs: cfg feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Feb 7, 2024
1 parent 49bb8b2 commit 410dfda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ohkami/src/ohkami/router/_test.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use crate::prelude::*;
#[cfg(feature="testing")]
use crate::testing::*;
#[cfg(feature="utils")]
use crate::utils::Text;
use crate::__rt__::test;

fn my_ohkami() -> Ohkami {
let health_ohkami = Ohkami::new((
Expand Down Expand Up @@ -70,7 +71,7 @@ fn my_ohkami() -> Ohkami {
}

#[cfg(feature="testing")]
#[test] async fn test_router() {
#[crate::__rt__::test] async fn test_router() {
let t = my_ohkami();


Expand Down

0 comments on commit 410dfda

Please sign in to comment.