fix: restore testing framework to actually work (#2070)

after refactor to some new asynchronous items for finders,
the tests stopped actually doing anything.

now they do things again.

(cherry picked from commit 4725867ec6)
This commit is contained in:
TJ DeVries
2023-01-07 12:34:11 +01:00
committed by Simon Hauser
parent 6ece9c462a
commit 226d9852c7
9 changed files with 298 additions and 76 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
local tester = require "telescope.pickers._test"
local helper = require "telescope.pickers._test_helpers"
local helper = require "telescope.testharness.helpers"
local runner = require "telescope.testharness.runner"
tester.builtin_picker("find_files", "README.md", {
runner.picker("find_files", "README.md", {
post_close = {
{ "README.md", helper.get_file },
},