10 lines
190 B
V
10 lines
190 B
V
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'"
|
|
}
|