Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
6ac27507
Commit
6ac27507
authored
Dec 26, 2019
by
Nathaniel Wesley Filardo
Committed by
Marcel Stör
Jun 09, 2020
Browse files
mispec: don't use uart.write
Prefer print everywhere.
parent
74f92323
Changes
1
Hide whitespace changes
Inline
Side-by-side
lua_tests/mispec.lua
View file @
6ac27507
...
@@ -133,7 +133,7 @@ M.run = function()
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment