From 992ce56868f8faeb77a882e72cee2668e2664ef3 Mon Sep 17 00:00:00 2001 From: Michael Utz Date: Thu, 24 Nov 2022 10:43:22 +0300 Subject: [PATCH] Fix tests for /opt neovim --- scripts/test | 4 ++-- specs/init.vim | 3 +++ specs/utils_spec.lua | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/test b/scripts/test index 0e5e898..73ec9f7 100755 --- a/scripts/test +++ b/scripts/test @@ -13,8 +13,8 @@ errors=$(sed 's/\x1b\[[0-9;]*m//g' "${tempfile}" | awk '/(Errors|Failed) :/ {pri rm "${tempfile}" if [[ -n $errors ]]; then - echo "Tests failed" - exit 1 + echo "Tests failed" + exit 1 fi exit 0 diff --git a/specs/init.vim b/specs/init.vim index 7547e39..a2d64e4 100644 --- a/specs/init.vim +++ b/specs/init.vim @@ -1,3 +1,6 @@ set rtp+=. set rtp+=../plenary.nvim +packadd! plenary.nvim +packadd! neotest +packadd! neotest-plenary runtime! plugin/plenary.vim diff --git a/specs/utils_spec.lua b/specs/utils_spec.lua index 84a4757..6b0d547 100644 --- a/specs/utils_spec.lua +++ b/specs/utils_spec.lua @@ -395,4 +395,4 @@ describe("get_test_results", function() assert.are.same(utils.get_test_results(xml_output, output_file), expected) end) end) --- vim: fdm=indent fdl=1 +-- vim: fdm=indent fdl=2