Fix wrong assert message in DeviceLinkingTest (#35964)
This commit is contained in:
parent
80b3a6142f
commit
0aa1fe7017
|
|
@ -64,7 +64,7 @@ public sealed class DeviceLinkingTest
|
||||||
var sinkEnt = server.EntMan.SpawnEntity(proto.ID, coord);
|
var sinkEnt = server.EntMan.SpawnEntity(proto.ID, coord);
|
||||||
// Get the actual sink component, since the one we got from the prototype doesn't have its owner set up
|
// Get the actual sink component, since the one we got from the prototype doesn't have its owner set up
|
||||||
Assert.That(server.EntMan.TryGetComponent<DeviceLinkSinkComponent>(sinkEnt, out var sinkComp),
|
Assert.That(server.EntMan.TryGetComponent<DeviceLinkSinkComponent>(sinkEnt, out var sinkComp),
|
||||||
$"Tester prototype does not have a DeviceLinkSourceComponent!");
|
$"{proto.ID} does not have a DeviceLinkSinkComponent!");
|
||||||
|
|
||||||
// Spawn the tester
|
// Spawn the tester
|
||||||
var sourceEnt = server.EntMan.SpawnEntity(PortTesterProtoId, coord);
|
var sourceEnt = server.EntMan.SpawnEntity(PortTesterProtoId, coord);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue