diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-10 19:20:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-10 19:20:31 +0200 |
commit | 29f9ed20b42e7badea6cfb82fb1fb8d71f33e282 (patch) | |
tree | 21ff56261cd0ca4c2ff7dcbd908dd992db4d1e37 /src/testdir/runtest.vim | |
parent | 6f4700233fd925fe122b851f937929fb5e5da707 (diff) |
patch 8.0.1689: no tests for xxdv8.0.1689
Problem: No tests for xxd.
Solution: Add a test. (Christian Brabandt)
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 3a32f4582b..5b8126d5d1 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -199,7 +199,11 @@ func FinishTesting() write endif - let message = 'Executed ' . s:done . (s:done > 1 ? ' tests' : ' test') + if s:done == 0 + let message = 'NO tests executed' + else + let message = 'Executed ' . s:done . (s:done > 1 ? ' tests' : ' test') + endif echo message call add(s:messages, message) if s:fail > 0 |