mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 07:03:57 +00:00
re-add paragraph on testing
This commit is contained in:
parent
79dda5d01e
commit
dafdd45dc8
@ -552,9 +552,19 @@ def GitDiffQuickfix()
|
||||
enddef
|
||||
command! GitDiffQF call GitDiffQuickfix()
|
||||
|
||||
####################################################
|
||||
## 9. Debugging, Compiling and Inspecting Bytecode
|
||||
####################################################
|
||||
############################################################
|
||||
## 9. Testing, Debugging, Compiling and Inspecting Bytecode
|
||||
############################################################
|
||||
|
||||
v:errors = []
|
||||
|
||||
assert_equal(4, 2 + 2)
|
||||
assert_false(2 < 1)
|
||||
assert_notmatch('\d\+', 'abc')
|
||||
|
||||
if !empty(v:errors)
|
||||
echo $"Test failures: {v:errors}"
|
||||
endif
|
||||
|
||||
def MyFunc()
|
||||
var x = 10
|
||||
|
Loading…
Reference in New Issue
Block a user