From 44e6ee930fff5bf42178e5555b4a7c3467cb66c8 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 17 Nov 2016 00:33:45 +0100 Subject: build: Target luacheck HEAD. https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606 > If you really want to use bleeding-edge version you should get the > rockspec from master branch, not a fixed commit ... > The correct way to install from a specific commit is cloning that > commit and running "luarocks make" from project directory. The reason > is that running "install" or "build" on an scm rockspec fetches > sources from master but uses build description from the rockspec > itself, which may be outdated. --- test/unit/strings_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/strings_spec.lua') diff --git a/test/unit/strings_spec.lua b/test/unit/strings_spec.lua index 0034670ee8..072701ea78 100644 --- a/test/unit/strings_spec.lua +++ b/test/unit/strings_spec.lua @@ -13,7 +13,7 @@ describe('vim_strsave_escaped()', function() local res = strings.vim_strsave_escaped(to_cstr(s), to_cstr(chars)) local ret = ffi.string(res) - -- Explicitly free memory so we are sure it is allocated: if it was not it + -- Explicitly free memory so we are sure it is allocated: if it was not it -- will crash. strings.xfree(res) return ret @@ -44,7 +44,7 @@ describe('vim_strnsave_unquoted()', function() local vim_strnsave_unquoted = function(s, len) local res = strings.vim_strnsave_unquoted(to_cstr(s), len or #s) local ret = ffi.string(res) - -- Explicitly free memory so we are sure it is allocated: if it was not it + -- Explicitly free memory so we are sure it is allocated: if it was not it -- will crash. strings.xfree(res) return ret -- cgit