]> granicus.if.org Git - vim/commitdiff
patch 8.1.1931: syntax test fails v8.1.1931
authorBram Moolenaar <Bram@vim.org>
Mon, 26 Aug 2019 20:38:22 +0000 (22:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 26 Aug 2019 20:38:22 +0000 (22:38 +0200)
Problem:    Syntax test fails.
Solution:   Add new javascriptreact type to completions.

src/testdir/test_syntax.vim
src/version.c

index 199a13493d5979b9479cf977464905d71bd03850..0479901ce0e1464a029ddaedb58f760a26c4687e 100644 (file)
@@ -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()
index f0e441a13257fd7719d2e88dd6d145917bef2e47..9c8ff7099d03c79769dc751f830734fd91733ec9 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1931,
 /**/
     1930,
 /**/