From 1b055c54a012fbf1e3758505b382dba7958bed38 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 14 Feb 2015 20:16:39 -0500 Subject: FEAT_SIGNS: restore :signs wildmenu, and add test. --- test/functional/ui/wildmode_spec.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 test/functional/ui/wildmode_spec.lua (limited to 'test') diff --git a/test/functional/ui/wildmode_spec.lua b/test/functional/ui/wildmode_spec.lua new file mode 100644 index 0000000000..ee2f8b15f8 --- /dev/null +++ b/test/functional/ui/wildmode_spec.lua @@ -0,0 +1,32 @@ +local helpers = require('test.functional.helpers') +local Screen = require('test.functional.ui.screen') +local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute + +describe("'wildmode'", function() + local screen + + before_each(function() + clear() + screen = Screen.new(25, 5) + screen:attach() + end) + + after_each(function() + screen:detach() + end) + + describe("'wildmenu'", function() + it(':sign shows wildmenu completions', function() + execute('set wildmode') + execute('set wildmenu') + feed(':sign ') + screen:expect([[ + | + ~ | + ~ | + define jump list > | + :sign define^ | + ]]) + end) + end) +end) -- cgit