diff options
Diffstat (limited to 'spec/util/quick.lua')
-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 257f570e..b2683ac6 100644 --- a/spec/util/quick.lua +++ b/spec/util/quick.lua | |||
@@ -468,7 +468,7 @@ function quick.compile(filename, env) | |||
468 | for i, line in ipairs(op.not_stderr.data) do | 468 | for i, line in ipairs(op.not_stderr.data) do |
469 | write(([=[ line = %q ]=]):format(line)) | 469 | write(([=[ line = %q ]=]):format(line)) |
470 | write(([=[ s = string.find(stderr_data, line, block_at, true) ]=])) | 470 | write(([=[ s = string.find(stderr_data, line, block_at, true) ]=])) |
471 | write(([=[ assert(not s, error_message(%d, "NOT_STDERR did match unwanted output: " .. line, stderr_data)) ]=]):format(op.stderr.start + i)) | 471 | write(([=[ assert(not s, error_message(%d, "NOT_STDERR did match unwanted output: " .. line, stderr_data)) ]=]):format(op.not_stderr.start + i)) |
472 | end | 472 | end |
473 | write([=[ end ]=]) | 473 | write([=[ end ]=]) |
474 | end | 474 | end |