diff --git a/helix-term/tests/test/commands/write.rs b/helix-term/tests/test/commands/write.rs index aba101e9f..bb3992d49 100644 --- a/helix-term/tests/test/commands/write.rs +++ b/helix-term/tests/test/commands/write.rs @@ -144,7 +144,7 @@ async fn test_overwrite_protection() -> anyhow::Result<()> { file.as_file_mut().flush()?; file.as_file_mut().sync_all()?; - test_key_sequence(&mut app, Some(":x"), None, false).await?; + test_key_sequence(&mut app, Some("iOverwriteData:x"), None, false).await?; reload_file(&mut file).unwrap(); let mut file_content = String::new();