@cryptotaxi247 / kubo / commits / 9d14b47fe

sharness: test sharness indent

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Sep 6, 2017 at 21:14 UTC 9d14b47fef20192b52efab3828541831e5bbfbe9
1 file changed +13
test/sharness/t0018-indent.sh new
+13
@@ -0,0 +1,13 @@
1 +#!/bin/sh
2 +
3 +test_description="Test sharness test indent"
4 +
5 +. lib/test-lib.sh
6 +
7 +for file in $(find .. -name 't*.sh' -type f); do
8 + test_expect_success "indent in $file is not using spaces" '
9 + test_must_fail grep -P "^\\t* " $file
10 + '
11 +done
12 +
13 +test_done