summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-22 19:07:28 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-22 19:07:28 +0100
commit8ed04587d3cd53e29be20fde9c36e619ea7da4dc (patch)
tree6a66f8036d567d984190c19f5372eff719ff6477 /runtime
parent0c6ceaf90389b41545d803458c4813013811c756 (diff)
downloadvim-git-8ed04587d3cd53e29be20fde9c36e619ea7da4dc.tar.gz
patch 8.2.0299: Vim9: ISN_STORE with argument not testedv8.2.0299
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool() not tested. Solution: Add tests. Add test_unknown() and test_void().
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/testing.txt7
2 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 4349e76ef..9ad88edff 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2864,6 +2864,8 @@ test_null_job() Job null value for testing
test_null_list() List null value for testing
test_null_partial() Funcref null value for testing
test_null_string() String null value for testing
+test_unknown() any unknown value for testing
+test_void() any void value for testing
test_option_not_set({name}) none reset flag indicating option was set
test_override({expr}, {val}) none test with Vim internal overrides
test_refcount({expr}) Number get the reference count of {expr}
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt
index f48984c9f..e728e2742 100644
--- a/runtime/doc/testing.txt
+++ b/runtime/doc/testing.txt
@@ -123,6 +123,13 @@ test_null_string() *test_null_string()*
Return a |String| that is null. Only useful for testing.
+test_unknown() *test_unknown()*
+ Return a value with unknown type. Only useful for testing.
+
+test_void() *test_void()*
+ Return a value with void type. Only useful for testing.
+
+
test_option_not_set({name}) *test_option_not_set()*
Reset the flag that indicates option {name} was set. Thus it
looks like it still has the default value. Use like this: >