aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-09-16 16:31:41 -0400
committerGitHub <noreply@github.com>2021-09-16 16:31:41 -0400
commit7d21b958691c06ed6b40aa1909cd81c37a67844e (patch)
tree4c3a89ec96a7cff096032c9103131509b82c393c /test/helpers.lua
parent2d81f1927958374d646ac24df479035c77d9b544 (diff)
parent89f7f7a991de6135f9009b832cd7736dabf2050c (diff)
downloadrneovim-7d21b958691c06ed6b40aa1909cd81c37a67844e.tar.gz
rneovim-7d21b958691c06ed6b40aa1909cd81c37a67844e.tar.bz2
rneovim-7d21b958691c06ed6b40aa1909cd81c37a67844e.zip
Merge pull request #15211 from seandewar/blob-port
Port VimL's Blob type - vim-patch:8.1.{0735,0736,0738,0741,0742,0755,0756,0757,0765,0793,0797,0798,0802,1022,1023,1671},8.2.{0121,0184,0404,0521,0829,1473,1866,2712}
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 469aee53f0..499d68b0d6 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -70,7 +70,7 @@ local function dumplog(logfile, fn, ...)
if status == false then
logfile = logfile or os.getenv('NVIM_LOG_FILE') or '.nvimlog'
local logtail = module.read_nvim_log(logfile)
- error(string.format('%s\n%s', rv, logtail))
+ error(string.format('%s\n%s', tostring(rv), logtail))
end
end
function module.eq(expected, actual, context, logfile)