File: 0004-Ignore-in-NeoVim-broken-test-SnippetActions_PostActi.patch

package info (click to toggle)
vim-ultisnips 3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,924 kB
  • sloc: python: 8,353; sh: 64; makefile: 38
file content (27 lines) | stat: -rw-r--r-- 949 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 20c32c8f5a9c23d85ec4e3dcea7969fbd842571e Mon Sep 17 00:00:00 2001
From: Nicholas Guriev <nicholas@guriev.su>
Date: Wed, 13 Jul 2022 22:39:16 +0300
Subject: Ignore in NeoVim broken test
 SnippetActions_PostActionModifiesCharAfterSnippet

---
 test/test_SnippetActions.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/test_SnippetActions.py b/test/test_SnippetActions.py
index 9d8fcfd..4a749bd 100644
--- a/test/test_SnippetActions.py
+++ b/test/test_SnippetActions.py
@@ -409,6 +409,12 @@ a0"""
 
 
 class SnippetActions_PostActionModifiesCharAfterSnippet(_VimTest):
+    skip_if = (
+        # https://github.com/SirVer/ultisnips/issues/1473
+        lambda self: "Some bug, no idea what's going on. Ignore for now."
+        if self.vim_flavor == "neovim"
+        else None
+    )
     files = {
         "us/all.snippets": r"""
         post_expand "snip.buffer[snip.snippet_end[0]] = snip.buffer[snip.snippet_end[0]][:-1]"