summaryrefslogtreecommitdiff
path: root/test/pkgbuild-check-licenses-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/pkgbuild-check-licenses-test.sh')
-rw-r--r--test/pkgbuild-check-licenses-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pkgbuild-check-licenses-test.sh b/test/pkgbuild-check-licenses-test.sh
index 220ef6b..efb4875 100644
--- a/test/pkgbuild-check-licenses-test.sh
+++ b/test/pkgbuild-check-licenses-test.sh
@@ -22,6 +22,6 @@ it_displays_usage_text() {
stat=$?
[[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]]
- [[ -z "$(cat $tmpdir/stderr)" ]]
+ empty $tmpdir/stderr
[[ $stat == 0 ]]
}