Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
Solution: Use semsg() instead of smsg().
if (!ok)
{
failed = TRUE;
- smsg(_(e_notopen), path);
+ semsg(_(e_notopen), path);
}
else
{
if (dirp == NULL)
{
failed = TRUE;
- smsg(_(e_notopen), path);
+ semsg(_(e_notopen), path);
}
else
{
\ ['bar.txt_file', 'dir_dir', 'foo.txt_file', 'link_link'])
endif
eval 'Xdir'->delete('rf')
+
+ call assert_fails('call readdirex("doesnotexist")', 'E484:')
endfunc
func Test_readdirex_sort()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1832,
/**/
1831,
/**/