Problem: tests: perleval fails in the sandbox
(after v9.2.0156)
Solution: Update tests and assert that it fails
related: #19676
Signed-off-by: Christian Brabandt <cb@256bit.org>
call assert_equal(-2, perleval('-2'))
call assert_equal(2.5, perleval('2.5'))
- sandbox call assert_equal(2, perleval('2'))
+ try
+ sandbox call perleval('2')
+ call assert_report('perleval did not fail in the sandbox')
+ catch /^Vim\%((\S\+)\)\=:E48:/
+ endtry
call assert_equal('abc', perleval('"abc"'))
call assert_equal("abc\ndef", perleval('"abc\0def"'))
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 165,
/**/
164,
/**/