Remove extra print statements.

This commit is contained in:
Robin Malley 2021-04-04 05:14:53 +00:00
parent 73df8d400e
commit 58565bc088
1 changed files with 1 additions and 5 deletions

View File

@ -108,13 +108,12 @@ describe("smr imageboard parser #parsers",function()
local start_time = os.clock()
local output = parser(input)
local end_time = os.clock()
print(end_time - start_time)
assert(end_time - start_time < 1, "Took too long")
end)
end
end
for i = 1, 80 do
for i = 1, 50 do
it("Should withstand a random string of " .. i .. " formatters and words. ",function()
local parser = require("parser_imageboard")
local input = {}
@ -143,12 +142,9 @@ describe("smr imageboard parser #parsers",function()
end
end
input = random_text_recursive(i)
print("input is:",input)
local start_time = os.clock()
local output = parser(input)
print("output is:",output)
local end_time = os.clock()
print(end_time - start_time)
assert(end_time - start_time < 1, "Took too long")
end)
end