Skip to content

Commit

Permalink
make test run correct
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghuan committed Mar 18, 2019
1 parent c42d54b commit b476780
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ end

local function create0_2(f)
return function(x1, x2, T1, T2)
return f(x1, x2, T1, T2)
return f(x1, x2, T2)
end
end

Expand Down
5 changes: 3 additions & 2 deletions test/TestCases/src/Tests/SimpleTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,15 @@ public static void ImplicitTest06() {

[TestCase]
public static void ImplicitTest07() {

/*
var obj0 = new LuaObject();
var obj1 = new PropValue<int>() { value = 123 };
var array = new LuaArray<int>();
array.SetValue(0,obj0);
array.SetValue(1,obj1);
}
*/
}

}
}

0 comments on commit b476780

Please sign in to comment.