Преглед на файлове

mispec: don't use uart.write

Prefer print everywhere.
Nathaniel Wesley Filardo преди 4 години
родител
ревизия
6ac275071b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lua_tests/mispec.lua

+ 1 - 1
lua_tests/mispec.lua

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