patch 8.2.1742: test still fails without the terminal feature

Problem:    Test still fails without the terminal feature.
Solution:   Put check for terminal feature in separate function.
diff --git a/src/version.c b/src/version.c
index 2258be9..4983b1b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1742,
+/**/
     1741,
 /**/
     1740,