summaryrefslogtreecommitdiff
path: root/test/is_built-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-29 12:53:47 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-29 18:48:52 -0400
commit3473a80a47f2cadc729f3be05fa7485ae5b12e22 (patch)
tree11389bfb491fb51a09c254c7c8f9142b18a68b42 /test/is_built-test.sh
parent76ddd033cdd42887be4a0723e613df0f9e9c4b6a (diff)
Strip trailing whitespace everywhere.
find * -type f -not -name '*.patch' -exec sed -i -r 's/\s+$//' {} +
Diffstat (limited to 'test/is_built-test.sh')
-rw-r--r--test/is_built-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/is_built-test.sh b/test/is_built-test.sh
index 62847e5..c547b93 100644
--- a/test/is_built-test.sh
+++ b/test/is_built-test.sh
@@ -37,7 +37,7 @@ it_succeeds_with_1_arg() {
it_returns_1_for_non_existent_package() {
is_built phony-ne-package 100 >$tmpdir/stdout 2>$tmpdir/stderr || stat=$?
- [[ $stat == 1 ]]
+ [[ $stat == 1 ]]
[[ -z "$(cat $tmpdir/stdout)" ]]
[[ -z "$(cat $tmpdir/stderr)" ]]
}
@@ -46,7 +46,7 @@ it_returns_1_for_future_packages() {
# If emacs ever goes rapid release, we might need to change this :P
is_built emacs 100 >$tmpdir/stdout 2>$tmpdir/stderr || stat=$?
- [[ $stat == 1 ]]
+ [[ $stat == 1 ]]
[[ -z "$(cat $tmpdir/stdout)" ]]
[[ -z "$(cat $tmpdir/stderr)" ]]
}