mispec: don't use uart.write

Prefer print everywhere.
This commit is contained in:
Nathaniel Wesley Filardo 2019-12-26 18:17:12 +00:00 committed by Marcel Stör
parent 74f9232370
commit 6ac275071b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ M.run = function()
local it = {} local it = {}
it.should = function(_, desc, func) it.should = function(_, desc, func)
table.insert(M.pending, function() table.insert(M.pending, function()
uart.write(0, '\n * ' .. desc) print('\n * ' .. desc)
M.total = M.total + 1 M.total = M.total + 1
if M.pre then M.pre() end if M.pre then M.pre() end
local status, err = pcall(func) local status, err = pcall(func)