mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 02:30:39 +08:00
sharness: test sharness indent
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
13
test/sharness/t0018-indent.sh
Executable file
13
test/sharness/t0018-indent.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
test_description="Test sharness test indent"
|
||||||
|
|
||||||
|
. lib/test-lib.sh
|
||||||
|
|
||||||
|
for file in $(find .. -name 't*.sh' -type f); do
|
||||||
|
test_expect_success "indent in $file is not using spaces" '
|
||||||
|
test_must_fail grep -P "^\\t* " $file
|
||||||
|
'
|
||||||
|
done
|
||||||
|
|
||||||
|
test_done
|
Reference in New Issue
Block a user