aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/glob_spec.lua
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-08-21 21:28:15 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-08-21 23:58:39 -0400
commitf9778052af733af643444946d33e6e5f9b3fba1b (patch)
tree73f8d512c07c0a39a631447b7ce047b1a2ae8a78 /test/functional/eval/glob_spec.lua
parentc75d5010b742db83462fc4508cf6dba455f79ca7 (diff)
downloadrneovim-f9778052af733af643444946d33e6e5f9b3fba1b.tar.gz
rneovim-f9778052af733af643444946d33e6e5f9b3fba1b.tar.bz2
rneovim-f9778052af733af643444946d33e6e5f9b3fba1b.zip
tests: fix the glob tests when building under a long path #3214
Diffstat (limited to 'test/functional/eval/glob_spec.lua')
-rw-r--r--test/functional/eval/glob_spec.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/eval/glob_spec.lua b/test/functional/eval/glob_spec.lua
index 136417249c..f99a9e7d0e 100644
--- a/test/functional/eval/glob_spec.lua
+++ b/test/functional/eval/glob_spec.lua
@@ -4,7 +4,9 @@ local clear, execute, eval, eq = helpers.clear, helpers.execute, helpers.eval, h
before_each(function()
clear()
lfs.mkdir('test-glob')
- execute('cd test-glob')
+
+ -- Long path might cause "Press ENTER" prompt; use :silent to avoid it.
+ execute('silent cd test-glob')
end)
after_each(function()