ci: format
This commit is contained in:
parent
f2c7efdd6f
commit
480c832306
1 changed files with 3 additions and 1 deletions
|
|
@ -143,7 +143,9 @@ describe('oauth', function()
|
|||
config.reset()
|
||||
vim.g.pending = { data_path = tmpdir .. '/tasks.json' }
|
||||
local orig_load = oauth.load_json_file
|
||||
oauth.load_json_file = function() return nil end
|
||||
oauth.load_json_file = function()
|
||||
return nil
|
||||
end
|
||||
local c = oauth.new({ name = 'gtasks', scope = 'x', port = 0, config_key = 'gtasks' })
|
||||
local creds = c:resolve_credentials()
|
||||
oauth.load_json_file = orig_load
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue