File: fixtest-adapt-test-to-release-0.8.patch

package info (click to toggle)
neovim 0.7.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 53,496 kB
  • sloc: ansic: 237,952; python: 3,358; sh: 2,080; awk: 704; makefile: 398; perl: 335; lisp: 129; xml: 63; ruby: 6
file content (22 lines) | stat: -rw-r--r-- 869 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Christian Clason <c.clason@uni-graz.at>
Date: Tue, 31 Jan 2023 17:38:47 +0100
X-Dgit-Generated: 0.7.2-7 ce58d4397e8cc3e7e3ba284a70068f51e29fe8da
Subject: fix(test): adapt test to release-0.8

Signed-off-by: James McCoy <jamessan@debian.org>

---

diff --git a/test/functional/treesitter/language_spec.lua b/test/functional/treesitter/language_spec.lua
index c825a33d5..e183794eb 100644
--- a/test/functional/treesitter/language_spec.lua
+++ b/test/functional/treesitter/language_spec.lua
@@ -29,7 +29,7 @@ describe('treesitter API', function()
   end)
 
   it('shows error for invalid language name', function()
-    eq(".../language.lua:0: '/foo/' is not a valid language name",
+    eq("Error executing lua: .../language.lua:0: '/foo/' is not a valid language name",
       pcall_err(exec_lua, 'vim.treesitter.require_language("/foo/", nil, false)'))
   end)