mirror of
https://github.com/zunit-zsh/zunit.git
synced 2026-09-10 06:36:15 -04:00
14 lines
383 B
Bash
14 lines
383 B
Bash
#!/usr/bin/env zunit
|
|
|
|
@test 'Test _zunit_assert_is_link success' {
|
|
run assert '../_support/assertions.zunit.link' is_link
|
|
assert $state equals 0
|
|
assert $output is_empty
|
|
}
|
|
|
|
@test 'Test _zunit_assert_is_link failure' {
|
|
run assert '../assertions.zunit' is_link
|
|
assert $state equals 1
|
|
assert $output same_as "'../assertions.zunit' does not exist or is not a symbolic link"
|
|
}
|