tests/test-contrib-check-code.t
changeset 35315 e223c0438f89
parent 34384 b52f22d9afa5
child 40094 ff47ba7a2903
--- 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
   >