diff --git a/unity/general/Src/UnitTest/TranslatorTest/JSToCSTest.cs b/unity/general/Src/UnitTest/TranslatorTest/JSToCSTest.cs index c133299d18..374b4d962a 100644 --- a/unity/general/Src/UnitTest/TranslatorTest/JSToCSTest.cs +++ b/unity/general/Src/UnitTest/TranslatorTest/JSToCSTest.cs @@ -661,7 +661,6 @@ public void AmbigiousCallTestStatic() public void ParamsCallTestReflection() { var jsEnv = new JsEnv(new TxtLoader()); - PuertsStaticWrap.AutoStaticCodeRegister.Register(jsEnv); string res = jsEnv.Eval(@" CS.Puerts.UnitTest.ParamsCallTest.CombinePath('a', 'b', 'c'); "); @@ -673,6 +672,7 @@ public void ParamsCallTestReflection() public void ParamsCallTestStatic() { var jsEnv = new JsEnv(new TxtLoader()); + PuertsStaticWrap.AutoStaticCodeRegister.Register(jsEnv); string res = jsEnv.Eval(@" CS.Puerts.UnitTest.ParamsCallTest.CombinePath('a', 'b', 'c'); ");