comparison src/testdir/test_quickfix.vim @ 31849:dbec60b8c253 v9.0.1257

patch 9.0.1257: code style is not check in test scripts Commit: https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 28 19:19:03 2023 +0000 patch 9.0.1257: code style is not check in test scripts Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 20:30:04 +0100
parents 552ca9b4218d
children 35fea638cd29
comparison
equal deleted inserted replaced
31848:b83cac410fcf 31849:dbec60b8c253
1209 "Xtestfile", line 14:10; this is an error in column 10 1209 "Xtestfile", line 14:10; this is an error in column 10
1210 =Xtestfile=, line 15:10; this is another error, but in vcol 10 this time 1210 =Xtestfile=, line 15:10; this is another error, but in vcol 10 this time
1211 "Xtestfile", linenr 16: yet another problem 1211 "Xtestfile", linenr 16: yet another problem
1212 Error in "Xtestfile" at line 17: 1212 Error in "Xtestfile" at line 17:
1213 x should be a dot 1213 x should be a dot
1214 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17 1214 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17
1215 ^ 1215 ^
1216 Error in "Xtestfile" at line 18: 1216 Error in "Xtestfile" at line 18:
1217 x should be a dot 1217 x should be a dot
1218 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18 1218 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18
1219 .............^ 1219 .............^
1220 Error in "Xtestfile" at line 19: 1220 Error in "Xtestfile" at line 19:
1221 x should be a dot 1221 x should be a dot
1222 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19 1222 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19
1223 --------------^ 1223 --------------^
1224 Error in "Xtestfile" at line 20: 1224 Error in "Xtestfile" at line 20:
1225 x should be a dot 1225 x should be a dot
1226 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20 1226 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20
1227 ^ 1227 ^
1228 1228
1229 Does anyone know what is the problem and how to correction it? 1229 Does anyone know what is the problem and how to correction it?
1230 "Xtestfile", line 21 col 9: What is the title of the quickfix window? 1230 "Xtestfile", line 21 col 9: What is the title of the quickfix window?
1231 "Xtestfile", line 22 col 9: What is the title of the quickfix window? 1231 "Xtestfile", line 22 col 9: What is the title of the quickfix window?
1232 [DATA] 1232 [DATA]
1568 self.assertEquals(34, dtid) 1568 self.assertEquals(34, dtid)
1569 File "/usr/lib/python2.2/unittest.py", line 286, in 1569 File "/usr/lib/python2.2/unittest.py", line 286, in
1570 failUnlessEqual 1570 failUnlessEqual
1571 raise self.failureException, \\ 1571 raise self.failureException, \\
1572 W:AssertionError: 34 != 33 1572 W:AssertionError: 34 != 33
1573 1573
1574 -------------------------------------------------------------- 1574 --------------------------------------------------------------
1575 Ran 27 tests in 0.063s 1575 Ran 27 tests in 0.063s
1576 [DATA] 1576 [DATA]
1577 1577
1578 set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%t:%m 1578 set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%t:%m