Skip to content

Commit

Permalink
Avoid string.rep in test.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ladc committed Feb 21, 2016
1 parent 24d2b97 commit 5f331e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if fail==0 then return end

iowrite("Failed tests:\n")
for i=1,fail do
iowrite(string.rep("-",72),"\n")
iowrite("----------------------------------------------------------")
iowrite("Name: ",failed_tests[i].name,"\n")
iowrite("Error: ",errors[i] or "(no error message)","\n")
iowrite("Filename: ",t.extract(failed_tests[i]),"\n")
Expand Down

0 comments on commit 5f331e7

Please sign in to comment.