diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-09-05 15:35:27 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-09-05 15:35:27 +0200 |
| commit | 75c19f44876bc6833ecd5ccb0d715cab8d70416b (patch) | |
| tree | cb6fcec87d183fb704c9531f74d9ba9e936eea3a /lua/alpha/test_strategy.lua | |
| parent | c46d110c48172b0e9ae0ac9cb9c38a5124d0236c (diff) | |
| download | nvim-conf-75c19f44876bc6833ecd5ccb0d715cab8d70416b.tar.gz nvim-conf-75c19f44876bc6833ecd5ccb0d715cab8d70416b.zip | |
updates
Diffstat (limited to 'lua/alpha/test_strategy.lua')
| -rw-r--r-- | lua/alpha/test_strategy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/alpha/test_strategy.lua b/lua/alpha/test_strategy.lua index 46aae3c..9a2d34a 100644 --- a/lua/alpha/test_strategy.lua +++ b/lua/alpha/test_strategy.lua @@ -51,7 +51,7 @@ local function myStrategy(cmd) vim.notify("Test run successfully", vim.log.levels.INFO, { title = "Test" }) return end - local result = j:stderr_result() + local result = j:stderr_result() or j:stdout_result() -- join result in a single string result = table.concat(result, "\n") -- escape / characters |