patch 8.2.1101: no error when using wrong arguments for setqflist()

Problem:    No error when using wrong arguments for setqflist() or
            setloclist().
Solution:   Check for the error.
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim
index 608a955..6d119fe 100644
--- a/src/testdir/test_quickfix.vim
+++ b/src/testdir/test_quickfix.vim
@@ -2360,6 +2360,9 @@
     call assert_equal(['Colors'], newl2.context)
     call assert_equal('Line10', newl2.items[0].text)
     call g:Xsetlist([], 'f')
+
+    " Cannot specify both a non-empty list argument and a dict argument
+    call assert_fails("call g:Xsetlist([{}], ' ', {})", 'E475:')
 endfunc
 
 func Test_qf_property()