We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79dda5d commit dafdd45Copy full SHA for dafdd45
vim9script.md
@@ -552,9 +552,19 @@ def GitDiffQuickfix()
552
enddef
553
command! GitDiffQF call GitDiffQuickfix()
554
555
-####################################################
556
-## 9. Debugging, Compiling and Inspecting Bytecode
557
+############################################################
+## 9. Testing, Debugging, Compiling and Inspecting Bytecode
558
+
559
+v:errors = []
560
561
+assert_equal(4, 2 + 2)
562
+assert_false(2 < 1)
563
+assert_notmatch('\d\+', 'abc')
564
565
+if !empty(v:errors)
566
+ echo $"Test failures: {v:errors}"
567
+endif
568
569
def MyFunc()
570
var x = 10
0 commit comments