mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 23:23:55 +00:00
re-add paragraph on testing
This commit is contained in:
parent
ab0f4f9bd0
commit
9d3513666d
@ -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