@@ -220,29 +220,28 @@ T["NEO-08 leaves Neo-tree-local columns behind after returning to the file windo
220220 assert .equals (" 3" , child .lua_get " vim.wo.foldcolumn" )
221221end
222222
223- T [" NEO-09 reflects external file changes with watcher or explicit refresh" ] = function ()
223+ T [" NEO-09 reflects external file changes after explicit refresh" ] = function ()
224224 child = helpers .start_ready_child ()
225225 child .type_keys " <Space>e"
226226 helpers .wait_until (child , neo_tree_visible_expression (), " visible Neo-tree window" )
227227
228228 local project = helpers .fixture_project (child )
229- local watcher_enabled = child .lua_get " vim.fn.has('win32') ~= 1"
230229 local created = " neo-tree-created.txt"
231230 local renamed = " neo-tree-renamed.txt"
232231 local created_path = vim .fs .joinpath (project , created )
233232 local renamed_path = vim .fs .joinpath (project , renamed )
234233
235234 vim .fn .writefile ({ " created" }, created_path )
236- if not watcher_enabled then child .type_keys " R" end
235+ child .type_keys " R"
237236 helpers .wait_until (child , neo_tree_contains_expression (created ), " Neo-tree create update" )
238237
239238 assert .equals (0 , vim .fn .rename (created_path , renamed_path ))
240- if not watcher_enabled then child .type_keys " R" end
239+ child .type_keys " R"
241240 helpers .wait_until (child , neo_tree_contains_expression (renamed ), " Neo-tree rename update" )
242241 helpers .wait_until (child , " not " .. neo_tree_contains_expression (created ), " Neo-tree old name removal" )
243242
244243 assert .equals (0 , vim .fn .delete (renamed_path ))
245- if not watcher_enabled then child .type_keys " R" end
244+ child .type_keys " R"
246245 helpers .wait_until (child , " not " .. neo_tree_contains_expression (renamed ), " Neo-tree delete update" )
247246end
248247
0 commit comments