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.
diff --git a/src/testdir/test_xxd.vim b/src/testdir/test_xxd.vim
index b79d52a..92a4d05 100644
--- a/src/testdir/test_xxd.vim
+++ b/src/testdir/test_xxd.vim
@@ -232,7 +232,7 @@
};
unsigned int varName_len = 11;
[CODE]
-
+
call assert_equal(expected, getline(1,'$'), s:Mess(s:test))
endfor
@@ -289,7 +289,7 @@
exe cmd1
exe cmd2
call assert_equal(['00000000: 3a 3a 45 45 3a 3a 3a 3a 46 46 ::EE::::FF'], readfile('Xxxdout'))
-
+
call writefile(["2: 41 41", "08: 42 42"], 'Xxxdin')
call writefile(['::::::::'], 'Xxxdfile')
exe cmd1
@@ -305,7 +305,7 @@
exe cmd1
exe cmd2
call assert_equal(['00000000: 3a 3a 45 45 3a 3a 3a 3a 42 44 46 46 ::EE::::BDFF'], readfile('Xxxdout'))
-
+
call delete('Xxxdout')
endfunc