summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-15 13:49:52 +0900
committerGitHub <[email protected]>2021-02-15 13:49:52 +0900
commit61370ca98c6a5853cb35c1491a2b310107aa4403 (patch)
treeab29ca770a80ed039f35b6b6a2e6c43366f4c88e /test
parent2725755bc52effd4446f46cda8fbdd31b692c813 (diff)
parent4203e574e3360df15a7bd7d5a29f311aa5f7caf6 (diff)
downloadmruby-61370ca98c6a5853cb35c1491a2b310107aa4403.tar.gz
mruby-61370ca98c6a5853cb35c1491a2b310107aa4403.zip
Merge pull request #5350 from shuujii/refine-checking-for-trailing-whitespace
Refine checking for trailing whitespace [skip travis][skip appveyor]
Diffstat (limited to 'test')
-rwxr-xr-xtest/check-for-trailing-whitespace.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/check-for-trailing-whitespace.sh b/test/check-for-trailing-whitespace.sh
deleted file mode 100755
index 00be038f3..000000000
--- a/test/check-for-trailing-whitespace.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-cd .. || exit
-# print first
-grep -EHInr '( +)$' ./*
-
-var=$(grep -EHInr '( +)$' ./*)
-# then exit with fail if found
-if test -z "$var"; then
- exit 0
-else
- exit 1
-fi