aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoliorcetics2022-11-01 12:37:19 +0000
committerGitHub2022-11-01 12:37:19 +0000
commit8ff92c749287fb3ac4a68661d0ee99cb56cc6295 (patch)
tree8be5ffb0637ce8d3acc239d9c7918c2315dd170f
parent8584b38cfbe6ffe3e5d539ad953c413e44e90bfa (diff)
Add missed test attribute in #4316 (#4557)
-rw-r--r--helix-core/src/shellwords.rs1
1 files changed, 1 insertions, 0 deletions
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"));