소스 검색

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)