diff --git a/crates/nu-lsp/src/lib.rs b/crates/nu-lsp/src/lib.rs index 6d75ab0e3a..336496e719 100644 --- a/crates/nu-lsp/src/lib.rs +++ b/crates/nu-lsp/src/lib.rs @@ -1025,7 +1025,7 @@ mod tests { .to_string(); #[cfg(not(windows))] - assert!(hover_text.starts_with("SLEEP(1)")); + assert!(hover_text.contains("SLEEP")); #[cfg(windows)] assert!(hover_text.starts_with("NAME\r\n Start-Sleep")); }