aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/061_undo_tree_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-12-07 23:55:18 +0100
committerGitHub <noreply@github.com>2016-12-07 23:55:18 +0100
commitff99cbfc0273bb9f714c32a62ec02b888c196a2e (patch)
treebbfb82885565dc382721716f3d550a259852ad28 /test/functional/legacy/061_undo_tree_spec.lua
parent8da23cb919e55825bc89f0ebfcebcc07374d9d18 (diff)
parent933c873cae64d3840bb0539b51a983a240eeff28 (diff)
downloadrneovim-ff99cbfc0273bb9f714c32a62ec02b888c196a2e.tar.gz
rneovim-ff99cbfc0273bb9f714c32a62ec02b888c196a2e.tar.bz2
rneovim-ff99cbfc0273bb9f714c32a62ec02b888c196a2e.zip
Merge #5488 from justinmk/test-fix-mouse-drag
test: Disable unreliable test on travis+ASAN_UBSAN
Diffstat (limited to 'test/functional/legacy/061_undo_tree_spec.lua')
-rw-r--r--test/functional/legacy/061_undo_tree_spec.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/functional/legacy/061_undo_tree_spec.lua b/test/functional/legacy/061_undo_tree_spec.lua
index 9bf69ccba1..2069204938 100644
--- a/test/functional/legacy/061_undo_tree_spec.lua
+++ b/test/functional/legacy/061_undo_tree_spec.lua
@@ -98,15 +98,7 @@ describe('undo tree:', function()
expect_line('123456abc')
end
- -- Retry up to 3 times. pcall() is _not_ used for the final attempt, so
- -- that failure messages can bubble up.
- for _ = 1, 2 do
- local success = pcall(test_earlier_later)
- if success then
- return
- end
- end
- test_earlier_later()
+ helpers.retry(test_earlier_later)
end)
it('file-write specifications', function()