This commit is contained in:
vis2k 2022-07-22 12:39:43 +08:00
parent 77cac1b03d
commit 0b984caced

View File

@ -105,7 +105,7 @@ public void ErrorForTargetRpcWithNoOwner()
{
Assert.Fail("Event should not be invoked with error");
};
LogAssert.Expect(LogType.Error, $"TargetRPC System.Void Mirror.Tests.RemoteAttrributeTest.TargetRpcBehaviour::SendInt(System.Int32) was given a null connection, make sure the object has an owner or you pass in the target connection");
LogAssert.Expect(LogType.Error, new Regex($".*was given a null connection.*"));
serverComponent.SendInt(someInt);
}