diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-07-23 17:42:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-23 11:42:37 -0400 |
| commit | 79644ab67731c7ba956c354bf0545282f34e10cc (patch) | |
| tree | e65dbf73b3442ab1aa9fc59fc56a35b4c9edf1e0 /lua/tests/pickers | |
| parent | 664690029fdb302bee8d3f27a458383e8477add7 (diff) | |
chore: use stylua for formatting (#1040)
* chore: stylua job and config
* reformat with stylua
Diffstat (limited to 'lua/tests/pickers')
| -rw-r--r-- | lua/tests/pickers/find_files__readme.lua | 10 | ||||
| -rw-r--r-- | lua/tests/pickers/find_files__scrolling_descending_cycle.lua | 12 | ||||
| -rw-r--r-- | lua/tests/pickers/find_files__with_ctrl_n.lua | 9 |
3 files changed, 15 insertions, 16 deletions
diff --git a/lua/tests/pickers/find_files__readme.lua b/lua/tests/pickers/find_files__readme.lua index 534ee3e..7ec8bcc 100644 --- a/lua/tests/pickers/find_files__readme.lua +++ b/lua/tests/pickers/find_files__readme.lua @@ -1,8 +1,8 @@ -local tester = require('telescope.pickers._test') -local helper = require('telescope.pickers._test_helpers') +local tester = require "telescope.pickers._test" +local helper = require "telescope.pickers._test_helpers" -tester.builtin_picker('find_files', 'README.md', { +tester.builtin_picker("find_files", "README.md", { post_close = { - {'README.md', helper.get_file }, - } + { "README.md", helper.get_file }, + }, }) diff --git a/lua/tests/pickers/find_files__scrolling_descending_cycle.lua b/lua/tests/pickers/find_files__scrolling_descending_cycle.lua index 7740003..4f8a3f2 100644 --- a/lua/tests/pickers/find_files__scrolling_descending_cycle.lua +++ b/lua/tests/pickers/find_files__scrolling_descending_cycle.lua @@ -1,12 +1,12 @@ -require('plenary.reload').reload_module('plenary') -require('plenary.reload').reload_module('telescope') +require("plenary.reload").reload_module "plenary" +require("plenary.reload").reload_module "telescope" -local tester = require('telescope.pickers._test') -local helper = require('telescope.pickers._test_helpers') +local tester = require "telescope.pickers._test" +local helper = require "telescope.pickers._test_helpers" -tester.builtin_picker('find_files', 'telescope<c-n>', { +tester.builtin_picker("find_files", "telescope<c-n>", { post_close = { - tester.not_ { 'plugin/telescope.vim', helper.get_file }, + tester.not_ { "plugin/telescope.vim", helper.get_file }, }, }, { sorting_strategy = "descending", diff --git a/lua/tests/pickers/find_files__with_ctrl_n.lua b/lua/tests/pickers/find_files__with_ctrl_n.lua index 5d93f60..4820f34 100644 --- a/lua/tests/pickers/find_files__with_ctrl_n.lua +++ b/lua/tests/pickers/find_files__with_ctrl_n.lua @@ -1,9 +1,8 @@ -local tester = require('telescope.pickers._test') -local helper = require('telescope.pickers._test_helpers') +local tester = require "telescope.pickers._test" +local helper = require "telescope.pickers._test_helpers" -tester.builtin_picker('find_files', 'fixtures/file<c-p>', { +tester.builtin_picker("find_files", "fixtures/file<c-p>", { post_close = { - { 'lua/tests/fixtures/file_abc.txt', helper.get_selection_value }, + { "lua/tests/fixtures/file_abc.txt", helper.get_selection_value }, }, }) - |
