added .kateconfig for Python indentation tests and adjusted the tests
author Gerald Senarclens de Grancy
()
committer Gerald Senarclens de Grancy
()
commit 952b6a4dc976403909baa8aad647be6ca97290e6
tree 032a68befbdc97e1e998e966f10cb3fd37eafda2
parent 9085818474fe3f9c344600796706353f8f450138
added .kateconfig for Python indentation tests and adjusted the tests

reason: new tests will require indent-mode set to python

indent-width is set to 4 b/c PEP8 strongly recommends this setting
and following PEP8 makes it more intuitive to add new tests

made the tests more robust by using document.lineLength

discussed w/ dhaumann before performing the change
30 files changed:
testdata/indent/python/.kateconfig [ new file with mode 0644 ]
testdata/indent/python/dedentBreak/expected
testdata/indent/python/dedentBreak/input.js
testdata/indent/python/dedentBreak/origin
testdata/indent/python/dedentContinue/expected
testdata/indent/python/dedentContinue/input.js
testdata/indent/python/dedentContinue/origin
testdata/indent/python/dedentPass/expected
testdata/indent/python/dedentPass/input.js
testdata/indent/python/dedentPass/origin
testdata/indent/python/dedentRaise/expected
testdata/indent/python/dedentRaise/input.js
testdata/indent/python/dedentRaise/origin
testdata/indent/python/dedentReturn/expected
testdata/indent/python/dedentReturn/input.js
testdata/indent/python/dedentReturn/origin
testdata/indent/python/indentColon/expected
testdata/indent/python/indentColon/input.js
testdata/indent/python/keepIndent1/expected
testdata/indent/python/keepIndent1/input.js
testdata/indent/python/keepIndent1/origin
testdata/indent/python/keepIndent2/expected
testdata/indent/python/keepIndent2/input.js
testdata/indent/python/keepIndent2/origin
testdata/indent/python/keepIndent3/expected
testdata/indent/python/keepIndent3/input.js
testdata/indent/python/keepIndent3/origin
testdata/indent/python/keepIndent4/expected
testdata/indent/python/keepIndent4/input.js
testdata/indent/python/keepIndent4/origin