changeset 17869:70f53ec4db93 v8.1.1931

patch 8.1.1931: syntax test fails Commit: https://github.com/vim/vim/commit/ea7a08a53ea0e8b4fe1592d9ae4d8f581fef46f8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 26 22:38:22 2019 +0200 patch 8.1.1931: syntax test fails Problem: Syntax test fails. Solution: Add new javascriptreact type to completions.
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Aug 2019 22:45:04 +0200
parents 5d329a40052a
children ff2ef3e73a19
files src/testdir/test_syntax.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_syntax.vim
+++ b/src/testdir/test_syntax.vim
@@ -393,7 +393,7 @@ endfunc
 
 func Test_ownsyntax_completion()
   call feedkeys(":ownsyntax java\<C-A>\<C-B>\"\<CR>", 'tx')
-  call assert_equal('"ownsyntax java javacc javascript', @:)
+  call assert_equal('"ownsyntax java javacc javascript javascriptreact', @:)
 endfunc
 
 func Test_highlight_invalid_arg()
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1931,
+/**/
     1930,
 /**/
     1929,