This commit is contained in:
ge
2025-07-11 19:18:01 +03:00
commit 68b888a356
6 changed files with 102 additions and 0 deletions

9
shell_test.v Normal file
View File

@@ -0,0 +1,9 @@
import shell
fn test_quote() {
assert shell.quote("janna d'arc") == '\'janna d\'"\'"\'arc\''
}
fn test_join() {
assert shell.join(['sh', '-c', 'hostname -f']) == "sh -c 'hostname -f'"
}