aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/filechanged_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/filechanged_spec.lua')
-rw-r--r--test/functional/legacy/filechanged_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/filechanged_spec.lua b/test/functional/legacy/filechanged_spec.lua
index 6eb853d630..ecb861098c 100644
--- a/test/functional/legacy/filechanged_spec.lua
+++ b/test/functional/legacy/filechanged_spec.lua
@@ -62,7 +62,7 @@ describe('file changed dialog', function()
sleep 2
silent !touch Xchanged_d
let v:warningmsg = ''
- checktime
+ checktime Xchanged_d
call assert_equal('', v:warningmsg)
call assert_equal(1, line('$'))
call assert_equal('new line', getline(1))