From 5d4658f989ce95e371d2b2add1bada829ab02d3a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 2 Feb 2020 07:09:26 +0100 Subject: [PATCH 1/2] tests: cover jedi_debug_info --- test/vspec/jedi_debug_info.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/vspec/jedi_debug_info.vim diff --git a/test/vspec/jedi_debug_info.vim b/test/vspec/jedi_debug_info.vim new file mode 100644 index 0000000..a7b9b01 --- /dev/null +++ b/test/vspec/jedi_debug_info.vim @@ -0,0 +1,13 @@ +source plugin/jedi.vim + +describe 'JediDebugInfo' + it 'works' + redir @a | JediDebugInfo | redir END + let output = split(@a, '\n') + Expect output[0] == 'You should run this in a buffer with filetype "python".' + Expect output[1] == '#### Jedi-vim debug information' + Expect output[-1] == '' + end +end + +" vim: et:ts=4:sw=4 From a3696bee36e683edb4d832c9296eef86d7e1542a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 2 Feb 2020 07:34:49 +0100 Subject: [PATCH 2/2] ci: upload coverage always --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c7489f..ffcf8df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ install: script: - make --keep-going "$ENV" BUILD_VIRTUAL_ENV=$VIRTUAL_ENV -after_success: +after_script: - | if [ "$ENV" = "test_coverage" ]; then coverage xml