0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0493: Vim9: some error messages not tested

Problem:    Vim9: some error messages not tested.
Solution:   Add more tests.  Fix uncovered bugs.
This commit is contained in:
Bram Moolenaar
2020-04-01 22:11:01 +02:00
parent a8c1770469
commit e69f6d044c
10 changed files with 80 additions and 11 deletions

View File

@@ -3849,8 +3849,12 @@ tv_equal(
return tv1->vval.v_channel == tv2->vval.v_channel;
#endif
case VAR_FUNC:
case VAR_PARTIAL:
return tv1->vval.v_partial == tv2->vval.v_partial;
case VAR_FUNC:
return tv1->vval.v_string == tv2->vval.v_string;
case VAR_UNKNOWN:
case VAR_VOID:
break;