aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/061_undo_tree_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/061_undo_tree_spec.lua')
-rw-r--r--test/functional/legacy/061_undo_tree_spec.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/legacy/061_undo_tree_spec.lua b/test/functional/legacy/061_undo_tree_spec.lua
index 4177f908a1..8feafa2cee 100644
--- a/test/functional/legacy/061_undo_tree_spec.lua
+++ b/test/functional/legacy/061_undo_tree_spec.lua
@@ -13,9 +13,7 @@ local eval = n.eval
local eq = t.eq
local function expect_empty_buffer()
- -- The space will be removed by t.dedent but is needed because dedent
- -- will fail if it can not find the common indent of the given lines.
- return expect(' ')
+ return expect('')
end
local function expect_line(line)
return eq(line, eval('getline(".")'))