patch 8.2.2251: test failures in legacy script

Problem:    Test failures in legacy script.
Solution:   Check for Vim9 script.
diff --git a/src/eval.c b/src/eval.c
index 69be2af..06d2600 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3777,7 +3777,7 @@
 	{
 	    range = TRUE;
 	    ++*arg;
-	    if (!IS_WHITE_OR_NUL(**arg) && **arg != ']')
+	    if (vim9 && !IS_WHITE_OR_NUL(**arg) && **arg != ']')
 	    {
 		semsg(_(e_white_space_required_before_and_after_str), ":");
 		if (!empty1)
diff --git a/src/version.c b/src/version.c
index a74a5d9..f080e68 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2251,
+/**/
     2250,
 /**/
     2249,