Commit 7b510e97 authored by vontio's avatar vontio
Browse files

add fail test

parent 255ad93d
...@@ -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[] msgs) public void Print(object format,params object[] args)
{ {
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
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