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
a9e66cf4
"KopiLua/printf/AT.MIN.Tools.Tests/AT.MIN.Tools.Tests.csproj" did not exist on "cdb477824c8f98f3763ccb10e7929613eed235f9"
Commit
a9e66cf4
authored
Sep 24, 2014
by
Vinicius Jarina
Browse files
Fixed tests performance.
parent
10f4d0ce
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/Core.cs
View file @
a9e66cf4
...
...
@@ -49,12 +49,11 @@ namespace NLuaTest
public
void
Setup
()
{
lua
=
new
Lua
();
lua
.
RegisterFunction
(
"WriteLineString"
,
typeof
(
Console
).
GetMethod
(
"WriteLine"
,
new
Type
[]
{
typeof
(
String
)
}));
lua
.
DoString
(
@"
luanet.load_assembly ('System')
Console = luanet.import_type ('System.Console')
function print (...)
Console.WriteLine (...)
function print (param)
WriteLineString (tostring(param))
end
"
);
}
...
...
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