Skip to content

Commit

Permalink
Mark null byte tests as expected failures
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed Sep 25, 2023
1 parent 597bb5f commit 03b5c49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_Fixes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import unittest

from test.vim_test_case import VimTestCase as _VimTest
from test.constant import *

Expand Down Expand Up @@ -133,12 +135,15 @@ class PassThroughNonexecutedTrigger(_VimTest):
NULL_BYTE = CTRL_V + "000"



@unittest.expectedFailure
class NullByte_ListSnippets(_VimTest):
snippets = ("word", "never expanded", "", "w")
keys = "foobar" + NULL_BYTE + LS + "\n"
wanted = "foobar\x00"


@unittest.expectedFailure
class NullByte_ExpandAfter(_VimTest):
snippets = ("test", "Expand me!", "", "w")
keys = "foobar " + NULL_BYTE + "test" + EX
Expand Down

0 comments on commit 03b5c49

Please sign in to comment.