aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/expand_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/expand_spec.lua')
-rw-r--r--test/functional/legacy/expand_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/expand_spec.lua b/test/functional/legacy/expand_spec.lua
index f238128b31..cd3713eabe 100644
--- a/test/functional/legacy/expand_spec.lua
+++ b/test/functional/legacy/expand_spec.lua
@@ -81,7 +81,7 @@ describe('expand file name', function()
call assert_equal('e Xfile1', expandcmd('e %'))
edit Xfile2
edit Xfile1
- call assert_equal('e Xfile2', expandcmd('e #'))
+ call assert_equal('e Xfile2', 'e #'->expandcmd())
edit Xfile2
edit Xfile3
edit Xfile4