Mercurial > public > mercurial-scm > hg-stable
diff tests/test-contrib-check-code.t @ 35324:e223c0438f89
check-code: allow tabs in heredoc
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Dec 2017 00:39:15 +0900 |
parents | b52f22d9afa5 |
children | ff47ba7a2903 |
line wrap: on
line diff
--- a/tests/test-contrib-check-code.t Fri Dec 08 22:27:14 2017 +0800 +++ b/tests/test-contrib-check-code.t Sat Dec 09 00:39:15 2017 +0900 @@ -173,6 +173,17 @@ don't use old-style two-argument raise, use Exception(message) [1] + $ cat <<EOF > tab.t + > indent + > > heredoc + > EOF + $ "$check_code" tab.t + tab.t:1: + > indent + don't use tabs to indent + [1] + $ rm tab.t + $ cat > rst.py <<EOF > """problematic rst text >