diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-07 11:51:40 +0300 |
---|---|---|
committer | V1K1NGbg <victor@ilchev.com> | 2024-08-07 11:51:40 +0300 |
commit | d0ad534174dce8de546249b100dfac347bf45bec (patch) | |
tree | d19bc903cdf9c816f0f75db3203b727f00c1dbda | |
parent | 1a8a11a3549647d438fa57235081ab044d84f787 (diff) | |
download | luarocks-d0ad534174dce8de546249b100dfac347bf45bec.tar.gz luarocks-d0ad534174dce8de546249b100dfac347bf45bec.tar.bz2 luarocks-d0ad534174dce8de546249b100dfac347bf45bec.zip |
fix quick
-rw-r--r-- | spec/util/quick.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util/quick.lua b/spec/util/quick.lua index 34ede636..a525aa96 100644 --- a/spec/util/quick.lua +++ b/spec/util/quick.lua | |||
@@ -410,7 +410,7 @@ function quick.compile(filename, env) | |||
410 | for i, line in ipairs(op.data) do | 410 | for i, line in ipairs(op.data) do |
411 | write(([=[ line = %q ]=]):format(line)) | 411 | write(([=[ line = %q ]=]):format(line)) |
412 | write(([=[ s, e = string.find(file_data, line, 1, true) ]=])) | 412 | write(([=[ s, e = string.find(file_data, line, 1, true) ]=])) |
413 | write(([=[ assert(s, error_message(%d, "FILE_CONTENTS " .. name .. " did not 2match: " .. line, file_data)) ]=]):format(op.start + i)) | 413 | write(([=[ assert(s, error_message(%d, "FILE_CONTENTS " .. name .. " did not match: " .. line, file_data)) ]=]):format(op.start + i)) |
414 | write(([=[ block_at = e + 1 ]=]):format(i)) | 414 | write(([=[ block_at = e + 1 ]=]):format(i)) |
415 | end | 415 | end |
416 | write([=[ end ]=]) | 416 | write([=[ end ]=]) |