diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 2 | ||||
-rw-r--r-- | runtime/doc/testing.txt | 7 |
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: > |