diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/production_surface.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/production_surface.rs b/tests/production_surface.rs index 038a036..bcf3e92 100644 --- a/tests/production_surface.rs +++ b/tests/production_surface.rs @@ -166,8 +166,8 @@ fn the_virtual_clock_is_compiled_out_without_test_support() { .nth(1) .expect("without test-support there must be a clock module that is always real"); assert!( - fallback.contains("pub fn advance(_d: Duration) -> bool") && fallback.contains("false"), - "the fallback advance() must be a constant false so the seam compiles to a plain sleep" + fallback.contains("pub fn virtual_sleep() -> bool") && fallback.contains("false"), + "the fallback must report a real wait so the seam compiles to a plain sleep" ); assert!( !fallback.contains("Mutex"), |
