Skip to content

Commit

Permalink
Improve info messages for the testing function
Browse files Browse the repository at this point in the history
  • Loading branch information
boechat107 committed Aug 14, 2020
1 parent dfc9de9 commit f3c030b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/storage_spec.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ function! Spec_storage_read() abort
let storage_cmd = 's3cmd'
let file_path = 's3://some-bucket/some-file'

echo repeat(' ', 2) . 'when called twice for the same file'
try
call storage#read(storage_cmd, file_path, storage_dict)
call storage#read(storage_cmd, file_path, storage_dict)
catch
call assert_true(v:exception)
endtry
echo repeat(' ', 2) . 'should not throw an error'
echo repeat(' ', 4) . 'should not throw an error'

silent exe 'edit' current_buffer
silent exe 'bd!' file_path
Expand Down

0 comments on commit f3c030b

Please sign in to comment.