Skip to content

Commit

Permalink
[unity] ut fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieyang committed Sep 13, 2023
1 parent cf6b87a commit 30aa9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/test/Src/Cases/API/NodeJSTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public void BackendIsNodeJSTest()
{
var env = UnitTestEnv.GetEnv();
if (env.Backend is BackendNodeJS) {
string pid = env.Eval<string>("process.pid");
int pid = env.Eval<int>("process.pid");

Assert.AreEqual(pid, System.Diagnostics.Process.GetCurrentProcess().Id);
}
Expand Down

0 comments on commit 30aa9a7

Please sign in to comment.