Commit dec87218 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Merge pull request #47 from vontio/patch-1

add fail test
parents fdcf1f7a 7b510e97
......@@ -566,10 +566,11 @@ namespace NLuaTest.Mock
Console.WriteLine ("Overload with out param" + i + ", " + j);
}
public void Print(params object[] msgs)
public void Print(object format,params object[] args)
{
var output = "";
foreach(var msg in msgs)
//just for test,this is not printf implements
var output = format.ToString() + "\t";
foreach(var msg in args)
{
output += msg.ToString() + "\t";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment