From f3c030b5f978f2150b2452b548e4361fb8a879d2 Mon Sep 17 00:00:00 2001 From: Andre Ambrosio Boechat Date: Fri, 14 Aug 2020 17:54:55 -0300 Subject: [PATCH] Improve info messages for the testing function --- spec/storage_spec.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/storage_spec.vim b/spec/storage_spec.vim index 4b3d10b..9e8e4f9 100644 --- a/spec/storage_spec.vim +++ b/spec/storage_spec.vim @@ -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