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
dec87218
Commit
dec87218
authored
Sep 20, 2013
by
Vinicius Jarina
Browse files
Merge pull request #47 from vontio/patch-1
add fail test
parents
fdcf1f7a
7b510e97
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/TestLua.cs
View file @
dec87218
...
@@ -566,10 +566,11 @@ namespace NLuaTest.Mock
...
@@ -566,10 +566,11 @@ 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"
;
}
}
...
...
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