Skip to content

Commit 7344e5b

Browse files
committed
Test: Improve errorformat test output message
1 parent 4d6f01b commit 7344e5b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/functions.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,15 @@ function! TestEfm(tool, mode, search_uvm)
179179
for qf_entry in qf_list
180180
echo qf_entry
181181
endfor
182+
let test_string=a:tool . '@' . a:mode
183+
if a:search_uvm
184+
let test_string.='+check UVM'
185+
endif
182186
if errors == expected_errors && warnings == expected_warnings && lints == expected_lints
183-
echo 'Error format test passed'
187+
echo 'Error format test passed (' . test_string . ')'
184188
return 0
185189
else
186-
echo 'Error format test failed:'
190+
echo 'Error format test failed (' . test_string . ')'
187191
return 1
188192
endif
189193
endfunction

0 commit comments

Comments
 (0)