diff --git a/helix-core/src/shellwords.rs b/helix-core/src/shellwords.rs
index 6edf3cc7..e8c5945b 100644
--- a/helix-core/src/shellwords.rs
+++ b/helix-core/src/shellwords.rs
@@ -244,6 +244,7 @@ mod test {
         assert_eq!(expected, result);
     }
 
+    #[test]
     #[cfg(unix)]
     fn test_escaping_unix() {
         assert_eq!(escape("foobar"), Cow::Borrowed("foobar"));