Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
7b510e97
Commit
7b510e97
authored
Sep 20, 2013
by
vontio
Browse files
add fail test
parent
255ad93d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/TestLua.cs
View file @
7b510e97
...
@@ -566,14 +566,15 @@ namespace NLuaTest.Mock
...
@@ -566,14 +566,15 @@ namespace NLuaTest.Mock
Console
.
WriteLine
(
"Overload with out param"
+
i
+
", "
+
j
);
Console
.
WriteLine
(
"Overload with out param"
+
i
+
", "
+
j
);
}
}
public
void
Print
(
params
object
[]
ms
gs
)
public
void
Print
(
object
format
,
params
object
[]
ar
gs
)
{
{
var
output
=
""
;
//just for test,this is not printf implements
foreach
(
var
msg
in
msgs
)
var
output
=
format
.
ToString
()
+
"\t"
;
foreach
(
var
msg
in
args
)
{
{
output
+=
msg
.
ToString
()
+
"\t"
;
output
+=
msg
.
ToString
()
+
"\t"
;
}
}
Console
.
WriteLine
(
output
);
Console
.
WriteLine
(
output
);
}
}
}
}
}
}
\ No newline at end of file
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