chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
Following spaces with none to follow is covered by a test, not by chance
crates/knotless-serve/tests/web.rs+11−0
| @@ -3338,4 +3338,15 @@ fn the_steps_shared() { | ||
plain | ||
._rt | ||
.block_on(knotless_serve::shared::follow(plain.app.clone())); | ||
// Nor languages to count, nor, with no gateway, spaces to follow: each | ||
// returns at once. Run here, not as a server starts, where it is a | ||
// task the test may end before it is run, and its lines counted or | ||
// not by chance. | ||
plain | ||
._rt | ||
.block_on(knotless_serve::languages::follow(plain.app.clone())); | ||
let every = Duration::from_secs(60); | ||
plain | ||
._rt | ||
.block_on(knotless_serve::spaces::follow(plain.app.clone(), every)); | ||
} | ||