[pacman-dev] [PATCH 1/3] add vim modeline to test files

Andrew Gregory andrew.gregory.8 at gmail.com
Tue Dec 23 21:53:10 UTC 2014


Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 test/scripts/human_to_size_test.sh | 2 ++
 test/scripts/parseopts_test.sh     | 2 ++
 test/util/pacsorttest.sh           | 2 ++
 test/util/vercmptest.sh            | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/test/scripts/human_to_size_test.sh b/test/scripts/human_to_size_test.sh
index dfa01f7..2dacfd1 100755
--- a/test/scripts/human_to_size_test.sh
+++ b/test/scripts/human_to_size_test.sh
@@ -80,3 +80,5 @@ parse_hts '1M' 1048576
 parse_hts ' 1 G ' 1073741824
 
 parse_hts '1Q' ''
+
+# vim: set noet:
diff --git a/test/scripts/parseopts_test.sh b/test/scripts/parseopts_test.sh
index 2c055b1..97679c4 100755
--- a/test/scripts/parseopts_test.sh
+++ b/test/scripts/parseopts_test.sh
@@ -140,3 +140,5 @@ parse '--force --' 2 --force
 
 # exact match on possible stem (opt has optarg)
 parse '--clean foo --' 3 --clean=foo
+
+# vim: set noet:
diff --git a/test/util/pacsorttest.sh b/test/util/pacsorttest.sh
index 49d6d8e..a29d8f1 100755
--- a/test/util/pacsorttest.sh
+++ b/test/util/pacsorttest.sh
@@ -133,3 +133,5 @@ fi
 
 echo "# $failure of $run tests failed"
 exit 1
+
+# vim: set noet:
diff --git a/test/util/vercmptest.sh b/test/util/vercmptest.sh
index 9032cbf..ba279a7 100755
--- a/test/util/vercmptest.sh
+++ b/test/util/vercmptest.sh
@@ -151,3 +151,5 @@ fi
 
 echo "# $failure of $run tests failed"
 exit 1
+
+# vim: set noet:
-- 
2.2.1


More information about the pacman-dev mailing list